diff --git a/src/osgViewer/CMakeLists.txt b/src/osgViewer/CMakeLists.txt index 073e94b24..349e94a03 100644 --- a/src/osgViewer/CMakeLists.txt +++ b/src/osgViewer/CMakeLists.txt @@ -163,9 +163,10 @@ LINK_INTERNAL(${LIB_NAME} osgUtil osg OpenThreads - ${LIB_EXTRA_LIBS} ) +LINK_EXTERNAL(${LIB_NAME} ${LIB_EXTRA_LIBS}) + LINK_CORELIB_DEFAULT(${LIB_NAME}) IF(MINGW OR CYGWIN)