From Eric Sokolowsky,"libosgViewerd.so was not being built properly because it was being

linked with system libraries using LINK_INTERNAL instead of
LINK_EXTERNAL. This caused it to try to link with libXrandrd instead of
libXrandr, which failed. Attached is the fixed CMakeLists.txt."
This commit is contained in:
Robert Osfield 2009-04-08 13:40:40 +00:00
parent fa27223fcd
commit b233174133

View File

@ -163,9 +163,10 @@ LINK_INTERNAL(${LIB_NAME}
osgUtil osgUtil
osg osg
OpenThreads OpenThreads
${LIB_EXTRA_LIBS}
) )
LINK_EXTERNAL(${LIB_NAME} ${LIB_EXTRA_LIBS})
LINK_CORELIB_DEFAULT(${LIB_NAME}) LINK_CORELIB_DEFAULT(${LIB_NAME})
IF(MINGW OR CYGWIN) IF(MINGW OR CYGWIN)