From b1822129a0bdebb585eb203dfd26192c010b54a4 Mon Sep 17 00:00:00 2001 From: xantares Date: Wed, 4 Feb 2015 21:45:12 +0100 Subject: [PATCH] Update CMakeLists.txt X11 are part of OPENGL_LIBRARIES --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 473a268..725a144 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)