Update CMakeLists.txt

X11 are part of OPENGL_LIBRARIES
This commit is contained in:
xantares 2015-02-04 21:45:12 +01:00
parent e6cd59d9b5
commit b1822129a0
1 changed files with 0 additions and 5 deletions

View File

@ -28,11 +28,6 @@ endif ()
find_package (OpenGL REQUIRED)
set (GLEW_LIBRARIES ${OPENGL_LIBRARIES})
if (UNIX)
find_package (X11 REQUIRED)
list (APPEND GLEW_LIBRARIES ${X11_LIBRARIES})
endif ()
add_definitions (-DGLEW_BUILD -DGLEW_NO_GLU)
include_directories (${PROJECT_SOURCE_DIR}/include)