I apparently fixed the problem by using add_dependencies() instead of target_link_libraries() ... Klaim / Joel Lamotte -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.cmake.org/pipermail/cmake/attachments/20120808/2032cbf6/attachment.htm>