Hi,

Using ""target_link_libraries" between static libraries is allowed, however
doing it with static imported targets fails with:

"Cannot specify link libraries for target "<target name>" which is not
built by this project.

However, this is necessary in order to define dependencies between the
targets, which is necessary when solving dependencies (when those targets
are eventually linked into e.g. an executable built by the project). How,
then, can I create dependencies between imported targets?

Thanx,
Yaron
-- 

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://public.kitware.com/mailman/listinfo/cmake

Reply via email to