Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.

This commit is contained in:
Robert Osfield
2007-03-19 17:24:19 +00:00
parent d9a94f7890
commit 282f4ce0b9
42 changed files with 86 additions and 83 deletions

View File

@@ -44,7 +44,10 @@ ENDMACRO(SETUP_LINK_LIBRARIES)
# this is the common set of command for all the plugins
#
MACRO(SETUP_PLUGIN)
MACRO(SETUP_PLUGIN PLUGIN_NAME)
SET(TARGET_NAME ${PLUGIN_NAME} )
#MESSAGE("in -->SETUP_PLUGIN<-- ${TARGET_NAME}-->${TARGET_SRC} <--> ${TARGET_H}<--")
## we have set up the target label and targetname by taking into account global prfix (osgdb_)