Hi Robert, Thomas,
As to whether its a CMake bug or an OSG build system compatibility
problem w.r.t CMake 2.6 I don't know yet, once things shake down a bit
more we'll know more.
Have you taken a look at the lines in question in
CMakeModules/OsgMacroUtils.cmake? I honestly can't figure out what their
purpose is... If we're building on MSVC but *not* through the IDE, the
libs should not have .lib extensions? That's nonsense...
I don't know why this worked with CMake 2.4.x, but it shouldn't have.
And up until now, no one has stepped up to explain what the purpose of
those lines is.
I can at least confirm that using CMake 2.4.7, replacing
IF(NOT MSVC_IDE)
TARGET_LINK_LIBRARIES(...)
ELSE(NOT MSVC_IDE)
TARGET_LINK_LIBRARIES(...)
ENDIF(NOT MSVC_IDE)
by just
TARGET_LINK_LIBRARIES(...)
(the one with the .lib extensions) works fine. And that is precisely the
fix we needed to do to make it work on CMake 2.6 as well...
What more needs to be said?
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org