Added CMake support for local OpenThreads build

This commit is contained in:
Robert Osfield
2007-05-02 18:07:41 +00:00
parent d9ee7cabd9
commit 958c3efa3a
3 changed files with 4 additions and 32 deletions

View File

@@ -1,5 +1,6 @@
SUBDIRS(
OpenThreads
osg
osgDB
osgUtil

View File

@@ -291,6 +291,9 @@ ADD_LIBRARY(${LIB_NAME}
dxtctool.h
)
LINK_INTERNAL(${LIB_NAME}
OpenThreads
)
LINK_EXTERNAL(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT} ${MATH_LIBRARY} )
LINK_CORELIB_DEFAULT(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT} ${MATH_LIBRARY} )