Commit 56c3132284c5f7490454d3d1b31d584583e93b18

Authored by David Mayerich
1 parent 5f3cba02

fixed OpenGL linking error in the CMake file

Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
CMakeLists.txt
... ... @@ -49,7 +49,7 @@ if( CMAKE_COMPILER_IS_GNUCC )
49 49 include_directories(${Boost_INCLUDE_DIR})
50 50 add_definitions(-DBOOST_PRECOMPILED)
51 51 else()
52   - message(FATAL_ERROR "HSIproc requires Boost::filesystem and Boost::system when using GCC")
  52 + message(FATAL_ERROR "SIproc requires Boost::filesystem and Boost::system when using GCC")
53 53 endif()
54 54 else()
55 55 find_package(Boost)
... ... @@ -108,8 +108,7 @@ add_executable(siview
108 108 target_link_libraries(siview
109 109 ${CMAKE_THREAD_LIBS_INIT}
110 110 ${X11_LIBRARIES}
111   - ${OPENGL_gl_LIBRARY}
112   - ${OPENGL_glu_LIBRARY}
  111 + ${OPENGL_LIBRARIES}
113 112 ${GLUT_LIBRARIES}
114 113 )
115 114 if(WIN32)
... ...