Link against GLU as well as GL since it seems that gluErrorString is in there in my version.

This commit is contained in:
Matt Williams 2010-03-02 21:49:36 +00:00
parent ae9f3459cc
commit f3c9514f50

View File

@ -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)