From fada28edb8be66c92dff00df7d792c3ef7943881 Mon Sep 17 00:00:00 2001 From: Clement Jamin Date: Mon, 30 Nov 2015 11:10:35 +0100 Subject: [PATCH] Remove glu + make Qt5 quiet + look for OpenGL --- .../demo/Reconstruction_simplification_2/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Reconstruction_simplification_2/demo/Reconstruction_simplification_2/CMakeLists.txt b/Reconstruction_simplification_2/demo/Reconstruction_simplification_2/CMakeLists.txt index d8f33cd00d4..dd2861d9e79 100644 --- a/Reconstruction_simplification_2/demo/Reconstruction_simplification_2/CMakeLists.txt +++ b/Reconstruction_simplification_2/demo/Reconstruction_simplification_2/CMakeLists.txt @@ -17,13 +17,13 @@ find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) # Find Qt5 itself -find_package(Qt5 COMPONENTS OpenGL) +find_package(Qt5 QUIET COMPONENTS OpenGL) if(Qt5_FOUND) add_definitions(-DQT_NO_KEYWORDS) endif(Qt5_FOUND) # Find OpenGL -#find_package(OpenGL) +find_package(OpenGL) # Find CImg find_path(CIMG_INCLUDE_DIR @@ -89,7 +89,7 @@ if(CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND AND OPENGL_FOUND) target_link_libraries( Reconstruction_simplification_2_demo ${CGAL_LIBRARIES} ${CGAL_3RD_PARTY_LIBRARIES} ) # Link with OpenGL - target_link_libraries( Reconstruction_simplification_2_demo ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ) + target_link_libraries( Reconstruction_simplification_2_demo ${OPENGL_gl_LIBRARY} ) # Link with CImg dependencies if( NOT WIN32 )