Commit 5132423c authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[ADD] - added quick solution for removing the openthreads library from the list of linked libs.

parent ae5bd1cf
......@@ -235,8 +235,14 @@ IF( CMAKE_GENERATOR MATCHES "Visual Studio" )
ENDIF()
FIND_PACKAGE( OpenSceneGraph ${MIN_OSG_VERSION} REQUIRED osgDB osgUtil osgGA osgViewer osgSim osgWidget osgText )
# include the header paths
INCLUDE_DIRECTORIES( ${OPENSCENEGRAPH_INCLUDE_DIRS} )
# 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.
FOREACH( osglib ${OPENSCENEGRAPH_LIBRARIES} )
STRING( REGEX MATCH ".*OpenThreads.*" IsExcluded "${osglib}" )
IF( IsExcluded )
LIST( REMOVE_ITEM OPENSCENEGRAPH_LIBRARIES ${osglib} )
ENDIF( IsExcluded )
ENDFOREACH()
# -----------------------------------------------------------------------------------------------------------------------------------------------
# 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