Added explicit include directories for OpenGL and X11 in CMake files
This commit is contained in:
parent
a547acfeb7
commit
d58d6e51bc
5 changed files with 7 additions and 1 deletions
|
@ -6,7 +6,9 @@ set(SRC ${SRCROOT}/X11.cpp)
|
|||
|
||||
# find OpenGL, GLU and X11
|
||||
find_package(OpenGL REQUIRED)
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
find_package(X11 REQUIRED)
|
||||
include_directories(${X11_INCLUDE_DIR})
|
||||
|
||||
# define the X11 target
|
||||
sfml_add_example(X11 GUI_APP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue