My project uses the "external project" functionality to download and install a "headers-only" library. I use an "interface library" to import that library dependency to my project. I'd like to add a dependency from the external project target to the interface library to trigger the library downloading and configuration process. But apparently this is not allowed and I get this error: add_dependencies Cannot add target-level dependencies to INTERFACE library target "EigenExternal"
Is there any workaround for this or am I doing something wrong? Thanks a lot, Jose
-- 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://www.cmake.org/mailman/listinfo/cmake