Deal with LD_LIBRARY_PATH

This commit is contained in:
Drew DeVault 2016-12-02 10:23:30 -05:00
parent 1a143e601b
commit a4e92ad272
3 changed files with 9 additions and 1 deletions

View file

@ -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)