5c780aada0
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"
8 lines
191 B
CMake
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)
|