[CMake] Bug in library link order?

Denis Scherbakov denis_scherbakov at yahoo.com
Tue Mar 31 03:45:36 EDT 2009


Dear CMake Community,

I have a project where there are:

LibraryA
LibraryB (depends on LibraryA)
Executable (depends on LibraryB and xml2)

during linking the order for link libraries is "LibraryB -lxml2 LibraryA". Should LibraryA (which is internal to the project) be specified before external libraries? 

Denis



      


More information about the CMake mailing list