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"
7 lines
192 B
CMake
7 lines
192 B
CMake
SET(TARGET_SRC osgGLUTkeyboardmouse.cpp )
|
|
INCLUDE_DIRECTORIES( ${GLUT_INCLUDE_DIR} )
|
|
SET(TARGET_LIBRARIES_VARS GLUT_glut_LIBRARY )
|
|
|
|
#### end var setup ###
|
|
SETUP_EXAMPLE(osgGLUTkeyboardmouse)
|