aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-12-02 10:23:30 -0500
committerFurkan Sahin <furkan-dev@proton.me>2016-12-02 10:23:30 -0500
commit6c7a146001d9566c11f3a5bebbedae797a388bac (patch)
tree1fbfcc200c3b9dab244e0b2227327b1fdc7c66b1 /CMakeLists.txt
parent0b4ec37ffe6a9dd99546dcaac3a7a19ac708b160 (diff)
Deal with LD_LIBRARY_PATH
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 83989ecd..cd816e9b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,6 +48,9 @@ option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES)
option(enable-binding-event "Enables binding event subscription" YES)
option(zsh-completions "Zsh shell completions" NO)
option(default-wallpaper "Installs the default wallpaper" YES)
+option(ld-library-path "Configures sway's default LD_LIBRARY_PATH" "/usr/lib")
+
+add_definitions(-D_LD_LIBRARY_PATH="${ld-library-path}")
find_package(JsonC REQUIRED)
find_package(PCRE REQUIRED)