> Hello! I have a problem, hope someone can help me :)
>
> When I use "add_dependencies" with Windows VS projects (2010 for
> example) - it is ok, additional dependencies are added to projects
> dependencies. And with "linux makefiles" - it's in dependencies order
> too.
> But both cases not in linkage cmd (like target_link_libraries). So, am
> I right that "add_dependencies" only add new order of built, but not
> library to link cmd?

Yes. You are probably searching for target_link_libraries() which will add
the dependency itself anyway.

Eike
_______________________________________________
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

Reply via email to