Jean-Sébastien Guay wrote:
Hello Robert,
Of course, I'd like to know if it will break something else. But
honestly, I think we cover pretty much 100% of the possible cases on
Windows with MSVC here... And no one has stepped up to say it will break
it for them.
J-S
You should not have to add a library with .lib if you are not specifying
the full path to the library.
target_link_libraries(foo A B)
This will link A.lib and B.lib to foo.
As for CMP0003, you should try to set it to NEW, and if you get link
errors, this means you are using non-full path libraries that do not
have a corresponding link_directories call to tell CMake where those
libraries are located. In previous versions of CMake it would get the
link directory from some other full path library. CMake used to always
break things into -L/path/ -lA (or -LIBPATH:/path A.lib on windows).
Now the full path is used directly. /path/A.lib.
Is this an external library or something that is built as part of the
CMake build?
-Bill
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org