Commit b1822129 authored by Michel Zou's avatar Michel Zou
Browse files

Update CMakeLists.txt

X11 are part of OPENGL_LIBRARIES
parent e6cd59d9
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment