[CMake] add_dependencies has a wrong order?

Steven Van Ingelgem steven at vaningelgem.be
Wed Feb 25 08:15:49 EST 2009


I have:
add_dependencies(dlib_httpclient dlib)

But in my cmakelists I have:
TARGET_LINK_LIBRARIES(${PROJECT_NAME} dlib dlib_httpclient)

Conclusion: it will change itself to "bin/libdlib.a
bin/libdlib_httpclient.a"
instead I would expect "bin/libdlib_httpclient.a bin/libdlib.a" as I told it
to add the dependency.


Greetings,
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090225/ec1562fd/attachment.htm>


More information about the CMake mailing list