Commit 56c3132284c5f7490454d3d1b31d584583e93b18
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,7 +49,7 @@ if( CMAKE_COMPILER_IS_GNUCC ) | ||
49 | include_directories(${Boost_INCLUDE_DIR}) | 49 | include_directories(${Boost_INCLUDE_DIR}) |
50 | add_definitions(-DBOOST_PRECOMPILED) | 50 | add_definitions(-DBOOST_PRECOMPILED) |
51 | else() | 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 | endif() | 53 | endif() |
54 | else() | 54 | else() |
55 | find_package(Boost) | 55 | find_package(Boost) |
@@ -108,8 +108,7 @@ add_executable(siview | @@ -108,8 +108,7 @@ add_executable(siview | ||
108 | target_link_libraries(siview | 108 | target_link_libraries(siview |
109 | ${CMAKE_THREAD_LIBS_INIT} | 109 | ${CMAKE_THREAD_LIBS_INIT} |
110 | ${X11_LIBRARIES} | 110 | ${X11_LIBRARIES} |
111 | - ${OPENGL_gl_LIBRARY} | ||
112 | - ${OPENGL_glu_LIBRARY} | 111 | + ${OPENGL_LIBRARIES} |
113 | ${GLUT_LIBRARIES} | 112 | ${GLUT_LIBRARIES} |
114 | ) | 113 | ) |
115 | if(WIN32) | 114 | if(WIN32) |