diff --git a/src/osgText/CMakeLists.txt b/src/osgText/CMakeLists.txt index 9a3026b40..6e901e6e6 100644 --- a/src/osgText/CMakeLists.txt +++ b/src/osgText/CMakeLists.txt @@ -43,6 +43,7 @@ LINK_INTERNAL(${LIB_NAME} osg OpenThreads ) -LINK_CORELIB_DEFAULT(${LIB_NAME}) +LINK_EXTERNAL(${LIB_NAME} ${MATH_LIBRARY} ) +LINK_CORELIB_DEFAULT(${LIB_NAME} ${MATH_LIBRARY}) INCLUDE(ModuleInstall OPTIONAL)