Skip to content

Commit

Permalink
Include the FindX11 module
Browse files Browse the repository at this point in the history
  • Loading branch information
alucryd committed Mar 13, 2015
1 parent 2916aed commit 148ce85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 148ce85

Please sign in to comment.