forked from speed-dreams/speed-dreams-code
update cmake
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5441 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: c1819302f318e56eabcf5c29b4891f1f17fcfa78 Former-commit-id: 18a7ce6042fa5f246011b9b36b27220a608b25df
This commit is contained in:
parent
57330ebd00
commit
2111b19874
2 changed files with 5 additions and 3 deletions
|
@ -326,7 +326,7 @@ MACRO(SD_INSTALL_CUSTOM_3RDPARTY TARGET_NAME)
|
|||
IF(OPTION_OSGGRAPH)
|
||||
|
||||
# DLLs whose libs we link with.
|
||||
SET(_OSG_DLLS_NAME_HINTS "OpenThreads;osgDB;osgFX;osgGA;osgViewer;osgUtil;osg")
|
||||
SET(_OSG_DLLS_NAME_HINTS "OpenThreads;osgDB;osgFX;osgGA;osgParticle;osgShadow;osgViewer;osgUtil;osg;")
|
||||
FOREACH(_LIB_NAME ${OPENSCENEGRAPH_LIBRARIES})
|
||||
FOREACH(_NAME_HINT ${_OSG_DLLS_NAME_HINTS})
|
||||
IF("${_LIB_NAME}" MATCHES "${_NAME_HINT}\\.")
|
||||
|
|
|
@ -76,7 +76,8 @@ ENDMACRO(ADD_PLIB_LIBRARY TARGET)
|
|||
MACRO(ADD_OSG_INCLUDEDIR)
|
||||
|
||||
IF(NOT OPENSCENEGRAPH_FOUND)
|
||||
FIND_PACKAGE(OpenSceneGraph REQUIRED osgDB osgViewer osgGA osgUtil osgFX osgParticle OsgShadow)
|
||||
FIND_PACKAGE(OpenSceneGraph REQUIRED osgDB osgViewer osgGA osgUtil osgFX
|
||||
osgParticle OsgShadow)
|
||||
ENDIF(NOT OPENSCENEGRAPH_FOUND)
|
||||
|
||||
IF(OPENSCENEGRAPH_FOUND)
|
||||
|
@ -90,7 +91,8 @@ ENDMACRO(ADD_OSG_INCLUDEDIR)
|
|||
MACRO(ADD_OSG_LIBRARY TARGET)
|
||||
|
||||
IF(NOT OPENSCENEGRAPH_FOUND)
|
||||
FIND_PACKAGE(OpenSceneGraph REQUIRED osgDB osgViewer osgGA osgUtil osgFX osgParticle osgShadow)
|
||||
FIND_PACKAGE(OpenSceneGraph REQUIRED osgDB osgViewer osgGA osgUtil osgFX
|
||||
osgParticle osgShadow)
|
||||
ENDIF(NOT OPENSCENEGRAPH_FOUND)
|
||||
|
||||
IF(OPENSCENEGRAPH_FOUND)
|
||||
|
|
Loading…
Reference in a new issue