Commit b83e70b8 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - ok it seems that on suse, the osg libs are not linked again openthreads.

parent 5132423c
...@@ -236,13 +236,13 @@ ENDIF() ...@@ -236,13 +236,13 @@ ENDIF()
FIND_PACKAGE( OpenSceneGraph ${MIN_OSG_VERSION} REQUIRED osgDB osgUtil osgGA osgViewer osgSim osgWidget osgText ) FIND_PACKAGE( OpenSceneGraph ${MIN_OSG_VERSION} REQUIRED osgDB osgUtil osgGA osgViewer osgSim osgWidget osgText )
# NOTE: this is a hack to remove the openthread lib from the list of OSG libs. It gets automatically added by the current # NOTE: this is a hack to remove the openthread lib from the list of OSG libs. It gets automatically added by the current
# find script but it is not really needed. # find script but it is not really needed on some systems (since they provide an osg lib which already is linked against this.).
FOREACH( osglib ${OPENSCENEGRAPH_LIBRARIES} ) #FOREACH( osglib ${OPENSCENEGRAPH_LIBRARIES} )
STRING( REGEX MATCH ".*OpenThreads.*" IsExcluded "${osglib}" ) # STRING( REGEX MATCH ".*OpenThreads.*" IsExcluded "${osglib}" )
IF( IsExcluded ) # IF( IsExcluded )
LIST( REMOVE_ITEM OPENSCENEGRAPH_LIBRARIES ${osglib} ) # LIST( REMOVE_ITEM OPENSCENEGRAPH_LIBRARIES ${osglib} )
ENDIF( IsExcluded ) # ENDIF( IsExcluded )
ENDFOREACH() #ENDFOREACH()
# ----------------------------------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------------------------
# NiftiLib, at least 2.0.0 # NiftiLib, at least 2.0.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment