Include the FindX11 module
This commit is contained in:
1 parent
2916aed1f9
commit
148ce85b26
1 file changed
+1
-2
+1
-2
@@ -440,8 +440,7 @@ if(NOT ANDROID)
|
||||
set(USE_X11 0)
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
# Note: We do not need to explicitly check for X11 as it is done in the cmake
|
||||
# FindOpenGL module on linux.
|
||||
include(FindX11)
|
||||
if(TRY_X11 AND X11_FOUND)
|
||||
set(USE_X11 1)
|
||||
add_definitions(-DHAVE_X11=1)
|
||||
|
||||
Reference in new issue
Block a user