From f3c9514f507cb8f930351ce03edeed6bc61c9190 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Tue, 2 Mar 2010 21:49:36 +0000 Subject: [PATCH] Link against GLU as well as GL since it seems that gluErrorString is in there in my version. --- examples/OpenGL/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/OpenGL/CMakeLists.txt b/examples/OpenGL/CMakeLists.txt index ff5c3585..79b8ccc0 100644 --- a/examples/OpenGL/CMakeLists.txt +++ b/examples/OpenGL/CMakeLists.txt @@ -54,7 +54,7 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/../../library/PolyVoxCore/debug ${C #Build ADD_EXECUTABLE(OpenGLExample ${SRC_FILES}) -TARGET_LINK_LIBRARIES(OpenGLExample ${QT_LIBRARIES} ${OPENGL_gl_LIBRARY} debug PolyVoxCore_d optimized PolyVoxCore) +TARGET_LINK_LIBRARIES(OpenGLExample ${QT_LIBRARIES} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} debug PolyVoxCore_d optimized PolyVoxCore) #Install - Only install the example in Windows IF(WIN32)