Fixed install paths of wrappers and plugins
This commit is contained in:
parent
1d213da760
commit
54127cea20
@ -238,7 +238,7 @@ MACRO(ADD_OSG_PLUGIN SUBDIR)
|
||||
ENDIF(${LINKLIB} MATCHES "osg")
|
||||
ENDFOREACH(LINKLIB)
|
||||
#ELSE(UNIX)
|
||||
# SET_TARGET_PROPERTIES(${TARGET} PROPERTIES PROJECT_LABEL "osgPlugin ${SUBDIR}")
|
||||
# SET_TARGET_PROPERTIES(${TARGET} PROPERTIES PROJECT_LABEL "osgPlugins ${SUBDIR}")
|
||||
# TARGET_LINK_LIBRARIES(${TARGET} osg osgDB osgUtil ${ARGV1} ${ARGV2} ${ARGV3} ${ARGV4} ${ARGV5})
|
||||
#ENDIF(UNIX)
|
||||
#speed#TARGET_LOCATIONS_ACCUM(${TARGET})
|
||||
@ -247,7 +247,7 @@ MACRO(ADD_OSG_PLUGIN SUBDIR)
|
||||
IF(WIN32)
|
||||
INSTALL(TARGETS ${TARGET} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION bin )
|
||||
ELSE(WIN32)
|
||||
INSTALL(TARGETS ${TARGET} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib${LIB_POSTFIX}/osgPlugin LIBRARY DESTINATION lib${LIB_POSTFIX}/osgPlugin )
|
||||
INSTALL(TARGETS ${TARGET} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib${LIB_POSTFIX}/osgPlugins LIBRARY DESTINATION lib${LIB_POSTFIX}/osgPlugins )
|
||||
ENDIF(WIN32)
|
||||
ENDMACRO(ADD_OSG_PLUGIN)
|
||||
|
||||
|
@ -31,7 +31,7 @@ MACRO(ADD_WRAPPER_LIB SUBDIR EXPORTDEF)
|
||||
SET(EXPRESSION ${IS_LINK} OR ${IS_DEFINE} OR ${IS_EXCLUDE})
|
||||
IF(${EXPRESSION})
|
||||
SET(${LISTNAME} ${CURRLIST})
|
||||
MESSAGE(STATUS "STORED LIST [${LISTNAME}] = (${CURRLIST})")
|
||||
# MESSAGE(STATUS "STORED LIST [${LISTNAME}] = (${CURRLIST})")
|
||||
SET(LISTNAME ${ARG})
|
||||
REMOVE(CURRLIST ${CURRLIST} )
|
||||
|
||||
@ -70,7 +70,11 @@ MACRO(ADD_WRAPPER_LIB SUBDIR EXPORTDEF)
|
||||
REMOVE(LINK ${LINK})
|
||||
REMOVE(EXCLUDE ${EXCLUDE})
|
||||
|
||||
INSTALL_TARGETS(/lib ${TARGET_NAME} )
|
||||
IF(WIN32)
|
||||
INSTALL(TARGETS ${TARGET_NAME} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION bin )
|
||||
ELSE(WIN32)
|
||||
INSTALL(TARGETS ${TARGET_NAME} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib${LIB_POSTFIX}/osgPlugins LIBRARY DESTINATION lib${LIB_POSTFIX}/osgPlugins )
|
||||
ENDIF(WIN32)
|
||||
|
||||
ENDMACRO(ADD_WRAPPER_LIB)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user