Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
5132423c
Commit
5132423c
authored
Jun 27, 2011
by
Sebastian Eichelbaum
Browse files
[ADD] - added quick solution for removing the openthreads library from the list of linked libs.
parent
ae5bd1cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/CMakeLists.txt
src/CMakeLists.txt
+8
-2
No files found.
src/CMakeLists.txt
View file @
5132423c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment