Include X11 libs and header without screensaver.
We need to always include these files and libs now due to using them on our keyboard background input solution.
This commit is contained in:
parent
7031c1d155
commit
790628961d
|
@ -79,9 +79,12 @@ endif()
|
||||||
if(NOT WIN32 AND NOT APPLE)
|
if(NOT WIN32 AND NOT APPLE)
|
||||||
find_package(X11)
|
find_package(X11)
|
||||||
|
|
||||||
if(X11_X11_LIB AND X11_Xscreensaver_LIB)
|
if(X11_X11_LIB)
|
||||||
include_directories(${X11_INCLUDE_DIR})
|
include_directories(${X11_INCLUDE_DIR})
|
||||||
list(APPEND VBAM_LIBS ${X11_X11_LIB} ${X11_Xscreensaver_LIB})
|
list(APPEND VBAM_LIBS ${X11_X11_LIB})
|
||||||
|
endif()
|
||||||
|
if(X11_Xscreensaver_LIB)
|
||||||
|
list(APPEND VBAM_LIBS ${X11_Xscreensaver_LIB})
|
||||||
add_definitions(-DHAVE_XSS)
|
add_definitions(-DHAVE_XSS)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue