[CMake] add_dependencies and linkage cmd

gekso ev.93kso at gmail.com
Tue May 10 09:02:33 EDT 2011


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?


More information about the CMake mailing list