mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 12:29:32 +08:00
13d47a6d82
* [osgearth] Fix plugin exporting This change has the same effects and reasoning as the prior fix to the osg port. * Update version * Update port
17 lines
1.1 KiB
Diff
17 lines
1.1 KiB
Diff
diff --git a/CMakeModules/OsgEarthMacroUtils.cmake b/CMakeModules/OsgEarthMacroUtils.cmake
|
|
index 8fab78376..838dcc581 100644
|
|
--- a/CMakeModules/OsgEarthMacroUtils.cmake
|
|
+++ b/CMakeModules/OsgEarthMacroUtils.cmake
|
|
@@ -220,9 +220,9 @@ MACRO(SETUP_PLUGIN PLUGIN_NAME)
|
|
|
|
#the installation path are differentiated for win32 that install in bib versus other architecture that install in lib${LIB_POSTFIX}/${VPB_PLUGINS}
|
|
IF(WIN32)
|
|
- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib/${OSG_PLUGINS} LIBRARY DESTINATION bin/${OSG_PLUGINS} )
|
|
+ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib/${OSG_PLUGINS} LIBRARY DESTINATION plugins/${OSG_PLUGINS} )
|
|
ELSE(WIN32)
|
|
- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib${LIB_POSTFIX}/${OSG_PLUGINS} LIBRARY DESTINATION lib${LIB_POSTFIX}/${OSG_PLUGINS} )
|
|
+ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib${LIB_POSTFIX}/${OSG_PLUGINS} LIBRARY DESTINATION plugins${LIB_POSTFIX}/${OSG_PLUGINS} )
|
|
ENDIF(WIN32)
|
|
|
|
IF(OSG_BUILD_PLATFORM_IPHONE)
|