summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-27 19:38:54 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-27 19:39:37 -0500
commit6a1df17fb7f7bcfa26d825173de4d31b771fd7a6 (patch)
tree35c64123e10960b7fe24f4e27b96ecf4ef871dcc
parentMerge pull request #1017 from zandrmartin/swaylock-scaling-mode (diff)
downloadsway-6a1df17fb7f7bcfa26d825173de4d31b771fd7a6.tar.gz
sway-6a1df17fb7f7bcfa26d825173de4d31b771fd7a6.tar.zst
sway-6a1df17fb7f7bcfa26d825173de4d31b771fd7a6.zip
Fix user-set LD_LIBRARY_PATH
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d1c38ce3..ea0e3648 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,7 +47,7 @@ option(enable-swaymsg "Enables the swaymsg utility" YES)
47option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES) 47option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES)
48option(zsh-completions "Zsh shell completions" NO) 48option(zsh-completions "Zsh shell completions" NO)
49option(default-wallpaper "Installs the default wallpaper" YES) 49option(default-wallpaper "Installs the default wallpaper" YES)
50option(LD_LIBRARY_PATH "Configures sway's default LD_LIBRARY_PATH" "/usr/lib") 50set(LD_LIBRARY_PATH "/usr/lib" CACHE STRING "Configures sway's default LD_LIBRARY_PATH")
51 51
52add_definitions(-D_LD_LIBRARY_PATH="${LD_LIBRARY_PATH}") 52add_definitions(-D_LD_LIBRARY_PATH="${LD_LIBRARY_PATH}")
53 53