In CMake builds, link glgsg with CG_LIBRARIES.

This commit is contained in:
kestred 2014-01-30 04:38:14 -07:00
parent c20f38c383
commit c75b104ce7
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ if(HAVE_GL)
composite_sources(p3glgsg P3GLGSG_SOURCES)
add_library(p3glgsg ${P3GLGSG_HEADERS} ${P3GLGSG_SOURCES})
target_link_libraries(p3glgsg p3glstuff p3display ${OPENGL_LIBRARIES})
target_link_libraries(p3glgsg p3glstuff p3display
${OPENGL_LIBRARIES} ${CG_LIBRARIES})
target_interrogate(p3glgsg ALL)
endif()