From Jean-Sebastian Guay, "Here are the CMakeLists.txt files for the osgWidget examples, changed to use SETUP_EXAMPLE like the other examples."

This commit is contained in:
Robert Osfield
2008-07-15 18:53:16 +00:00
parent 43cedf9eb4
commit f1138fa684
14 changed files with 70 additions and 98 deletions

View File

@@ -1,9 +1,7 @@
PROJECT(osgwidgetversion)
#this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetversion osgwidgetversion.cpp)
SET_TARGET_PROPERTIES(osgwidgetversion PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetversion DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetversion.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetversion)