On Wednesday 04 August 2010 08:30:49 Dennis Schridde wrote: > Hi! > > We have a problem in our cmake project, where cmake links all libraries > two times. This makes it impossible to link static libraries. > The libraries > appear only once in target_link_libraries() and that also only appears > once. P.S: Some more info: * link.txt also contains the linking instructions two times. * The various ..._LIBRARY variables contain the library only once. * When linking the 2nd time, the instructions do not appear in the same order as the first time. * I find the libraries which are doubly linked using find_library. * I also set link_directories to paths containing the libraries.
--Dennis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake