OpenSceneGraph/examples/osgsimpleviewerGLUT/CMakeLists.txt
Robert Osfield 5c780aada0 From Luigi Calori, "here is a patch to use Mike 3rdParty dependencies
It should not be introusive to any other palatform apart MSVC, but in order to link to debug-specific libs
I had to change plugins CMakeLists to differentiate debug/release linkage, I have used the same macro used in core libs
Now the macro used for plugin and examples linking test for existance of TARGET_LIBRARIES_VARS
that holds the names of the variables that have to be used for linking"
2007-03-27 21:44:02 +00:00

8 lines
191 B
CMake

SET(TARGET_SRC osgsimpleviewerGLUT.cpp )
INCLUDE_DIRECTORIES( ${GLUT_INCLUDE_DIR} )
SET(TARGET_LIBRARIES_VARS GLUT_glut_LIBRARY )
#### end var setup ###
SETUP_EXAMPLE(osgsimpleviewerGLUT)