mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 05:28:32 +00:00
Fix x11 check in cmake
This commit is contained in:
parent
11e5db2132
commit
89a8456495
@ -166,6 +166,7 @@ endif(BUILD_ICONV)
|
||||
if(BUILD_X11)
|
||||
include(FindX11)
|
||||
find_package(X11)
|
||||
if(X11_FOUND)
|
||||
set(conky_includes ${conky_includes} ${X11_INCLUDE_DIR})
|
||||
set(conky_libs ${conky_libs} ${X11_LIBRARIES})
|
||||
|
||||
@ -204,7 +205,9 @@ if(BUILD_X11)
|
||||
endif(NOT X11_Xext_FOUND)
|
||||
set(conky_libs ${conky_libs} ${X11_Xext_LIB})
|
||||
endif(BUILD_XDBE)
|
||||
|
||||
else(X11_FOUND)
|
||||
message(FATAL_ERROR "Unable to find X11 library")
|
||||
endif(X11_FOUND)
|
||||
endif(BUILD_X11)
|
||||
|
||||
if(BUILD_LUA)
|
||||
|
Loading…
x
Reference in New Issue
Block a user