- added OpenScenegraph 3.3.8 in cmake search and install

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6026 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cb333471bac05e07772ff62bac687bdf15443b2d
Former-commit-id: caf36640cc814ac4ca0cb060f30916877bc74f26
This commit is contained in:
torcs-ng 2015-06-14 17:42:27 +00:00
parent 1489a8858e
commit 32f65c7be2

View file

@ -335,7 +335,7 @@ MACRO(SD_INSTALL_CUSTOM_3RDPARTY TARGET_NAME)
FOREACH(_LIB_NAME ${OPENSCENEGRAPH_LIBRARIES}) FOREACH(_LIB_NAME ${OPENSCENEGRAPH_LIBRARIES})
FOREACH(_NAME_HINT ${_OSG_DLLS_NAME_HINTS}) FOREACH(_NAME_HINT ${_OSG_DLLS_NAME_HINTS})
IF("${_LIB_NAME}" MATCHES "${_NAME_HINT}\\.") IF("${_LIB_NAME}" MATCHES "${_NAME_HINT}\\.")
_FIND_3RDPARTY_DLL("${_LIB_NAME}" "${_NAME_HINT}" "lib;ot12-;ot20-;osg80-;osg97-;osg100-;osg118-" _DLL_PATHNAME) _FIND_3RDPARTY_DLL("${_LIB_NAME}" "${_NAME_HINT}" "lib;ot12-;ot20-;osg80-;osg97-;osg100-;osg118-;osg123-" _DLL_PATHNAME)
SET(_NAME_HINT_ "${_NAME_HINT}") # For later (see below DLLs we don't link with). SET(_NAME_HINT_ "${_NAME_HINT}") # For later (see below DLLs we don't link with).
SET(_LIB_NAME_ "${_LIB_NAME}") # For later (see below DLLs we don't link with). SET(_LIB_NAME_ "${_LIB_NAME}") # For later (see below DLLs we don't link with).
SET(_DLL_PATHNAME_ "${_DLL_PATHNAME}") # For later (see below plugins). SET(_DLL_PATHNAME_ "${_DLL_PATHNAME}") # For later (see below plugins).
@ -350,7 +350,7 @@ MACRO(SD_INSTALL_CUSTOM_3RDPARTY TARGET_NAME)
SET(_EXTRA_OSG_DLLS_NAME_HINTS "osgText") # ';'-separated list SET(_EXTRA_OSG_DLLS_NAME_HINTS "osgText") # ';'-separated list
FOREACH(_NAME_HINT ${_EXTRA_OSG_DLLS_NAME_HINTS}) FOREACH(_NAME_HINT ${_EXTRA_OSG_DLLS_NAME_HINTS})
STRING(REPLACE "${_NAME_HINT_}" "${_NAME_HINT}" _LIB_NAME "${_LIB_NAME_}") STRING(REPLACE "${_NAME_HINT_}" "${_NAME_HINT}" _LIB_NAME "${_LIB_NAME_}")
_FIND_3RDPARTY_DLL("${_LIB_NAME}" "${_NAME_HINT}" ";lib;ot12-;ot20-;osg80-;osg97-;osg100-;osg118-" _DLL_PATHNAME) _FIND_3RDPARTY_DLL("${_LIB_NAME}" "${_NAME_HINT}" ";lib;ot12-;ot20-;osg80-;osg97-;osg100-;osg118-;osg123-" _DLL_PATHNAME)
LIST(APPEND _THIRDPARTY_DLL_PATHNAMES "${_DLL_PATHNAME}") LIST(APPEND _THIRDPARTY_DLL_PATHNAMES "${_DLL_PATHNAME}")
ENDFOREACH() ENDFOREACH()