Added explicit include directories for OpenGL and X11 in CMake files

This commit is contained in:
Laurent Gomila 2011-09-30 13:43:52 +02:00
parent a547acfeb7
commit d58d6e51bc
5 changed files with 7 additions and 1 deletions

View file

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