From 6a1df17fb7f7bcfa26d825173de4d31b771fd7a6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 27 Dec 2016 19:38:54 -0500 Subject: [PATCH] Fix user-set LD_LIBRARY_PATH --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" 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") +set(LD_LIBRARY_PATH "/usr/lib" CACHE STRING "Configures sway's default LD_LIBRARY_PATH") add_definitions(-D_LD_LIBRARY_PATH="${LD_LIBRARY_PATH}")