Hello,
I have cmake project, which tries to link against external libraries using
target_link_libraries(myExec ${EXTERNAL_LIBS})
When compiling and linking the executable using make, I can see that
some libraries are doubled in the link line, but not all.
At the current stage, I think, that this leads to the linker errors with
missing simbols of libraries, which are not doubled on the link command.
My question are now
a) why does cmake double some libraries?
b) which are append twice?
I am using cmake version 2.8.11.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake