CMake: fix usage of cmake_dependent_option
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
option(ENABLE_LIB_xcbXorg "Enable XCB/Xorg Connection Manager backend lib" ON)
|
||||
option(ENABLE_LIB_xcbXorg "Enable XCB/Xorg Connection Manager backend lib" OFF)
|
||||
|
||||
if(ENABLE_LIB_xcbXorg)
|
||||
pkg_check_modules(XCB REQUIRED xcb)
|
||||
|
||||
Reference in New Issue
Block a user