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:
parent
fa27223fcd
commit
b233174133
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user