diff --git a/src/osgText/CMakeLists.txt b/src/osgText/CMakeLists.txt index 6e901e6e6..ca73b4a68 100644 --- a/src/osgText/CMakeLists.txt +++ b/src/osgText/CMakeLists.txt @@ -36,14 +36,11 @@ ADD_LIBRARY(${LIB_NAME} Version.cpp ) - -SET(TARGET_LIBRARIES_VARS FREETYPE_LIBRARY ) LINK_INTERNAL(${LIB_NAME} osgDB osg OpenThreads ) -LINK_EXTERNAL(${LIB_NAME} ${MATH_LIBRARY} ) -LINK_CORELIB_DEFAULT(${LIB_NAME} ${MATH_LIBRARY}) +LINK_CORELIB_DEFAULT(${LIB_NAME}) INCLUDE(ModuleInstall OPTIONAL)