Merge pull request #2203 from alucryd/findx11

Include the FindX11 module
This commit is contained in:
Ryan Houdek 2015-03-15 07:40:20 -05:00
commit b267e5147c

View File

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