From 56c3132284c5f7490454d3d1b31d584583e93b18 Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Tue, 31 Dec 2019 18:34:37 -0600 Subject: [PATCH] fixed OpenGL linking error in the CMake file --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d090b1..5108268 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ if( CMAKE_COMPILER_IS_GNUCC ) include_directories(${Boost_INCLUDE_DIR}) add_definitions(-DBOOST_PRECOMPILED) else() - message(FATAL_ERROR "HSIproc requires Boost::filesystem and Boost::system when using GCC") + message(FATAL_ERROR "SIproc requires Boost::filesystem and Boost::system when using GCC") endif() else() find_package(Boost) @@ -108,8 +108,7 @@ add_executable(siview target_link_libraries(siview ${CMAKE_THREAD_LIBS_INIT} ${X11_LIBRARIES} - ${OPENGL_gl_LIBRARY} - ${OPENGL_glu_LIBRARY} + ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES} ) if(WIN32) -- libgit2 0.21.4