Don't install the OSG serializers on Windows
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7921 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
parent
c67e037722
commit
bd9144bdff
|
@ -353,12 +353,8 @@ MACRO(SD_INSTALL_CUSTOM_3RDPARTY TARGET_NAME)
|
|||
# Plugins : Complete the list right below according to the actual needs.
|
||||
# TODO: Find a way to install them in the osgPlugins-xxx subdir (works as is, but ...)
|
||||
SET(_OSG_PLUGIN_NAME_HINTS "osgdb_ac;osgdb_dds;osgdb_glsl") # ';'-separated list
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_ive;osgdb_jpeg;osgdb_osg;osgdb_curl;osgdb_freetype")
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_osga;osgdb_osgshadow;osgdb_osgtgz;osgdb_png;osgdb_rgb")
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_serializers_osg;osgdb_serializers_osganimation;osgdb_serializers_osgfx;osgdb_serializers_osgga;osgdb_serializers_osgmanipulator;osgdb_serializers_osgparticle")
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_serializers_osgshadow;osgdb_serializers_osgsim;osgdb_serializers_osgtext;osgdb_serializers_osggui;osgdb_serializers_osgutil;osgdb_serializers_osgviewer")
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_deprecated_osg;osgdb_deprecated_osganimation;osgdb_deprecated_osgfx;osgdb_deprecated_osgparticle;osgdb_deprecated_osgshadow")
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_deprecated_osgsim;osgdb_deprecated_osgtext;osgdb_deprecated_osgwidget;osgdb_deprecated_osgviewer")
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_ive;osgdb_jpeg;osgdb_osg;osgdb_curl;osgdb_freetype")
|
||||
LIST(APPEND _OSG_PLUGIN_NAME_HINTS "osgdb_osga;osgdb_osgshadow;osgdb_osgtgz;osgdb_png;osgdb_rgb")
|
||||
|
||||
GET_FILENAME_COMPONENT(_OSG_PLUGINS_DIR "${_DLL_PATHNAME_}" PATH)
|
||||
FILE(GLOB_RECURSE _OSG_PLUGIN_NAMES "${_OSG_PLUGINS_DIR}/*${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||
|
@ -366,7 +362,7 @@ MACRO(SD_INSTALL_CUSTOM_3RDPARTY TARGET_NAME)
|
|||
FOREACH(_PLUGIN_NAME ${_OSG_PLUGIN_NAMES})
|
||||
IF("${_PLUGIN_NAME}" MATCHES "osgPlugins.*/.*${_NAME_HINT}\\.")
|
||||
LIST(APPEND _THIRDPARTY_DLL_PATHNAMES "${_PLUGIN_NAME}")
|
||||
MESSAGE(STATUS "Will install 3rdParty plugin ${_PLUGIN_NAME}")
|
||||
MESSAGE(STATUS "Will install 3rdParty OSG plugin ${_PLUGIN_NAME}")
|
||||
BREAK()
|
||||
ENDIF()
|
||||
ENDFOREACH()
|
||||
|
|
Loading…
Reference in New Issue