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,6 +6,7 @@ set(SRC ${SRCROOT}/OpenGL.cpp)
|
|||
|
||||
# find OpenGL and GLU
|
||||
find_package(OpenGL REQUIRED)
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
|
||||
# define the opengl target
|
||||
sfml_add_example(opengl GUI_APP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue