Because the external projects depends on different library versions than the "SuperProject". Maybe I misconfigured something, but i don't know an alternative.
E.g.: super project (AA) builds with version 9 of library X. The external project B requires version 5 of library X and had some source files. The external project C requires version 3 of library X and had some different sources. The external projects are only shared libraries (which are also standalone projects with there own source tree) which are then used by the super project. If I understand it correctly then ExternalProject_Add should be the solution for this, right? Best Regards > Am 17.03.2014 um 15:24 schrieb David Cole <dlrd...@aol.com>: > > Why do you want to do that? > > The ExternalProject will not rebuild correctly when you modify these source > files... Unless you are forcing the build step to run every single time. > > You are using ExternalProject as if it were NOT external. Why not just use > add_subdirectory instead and have an "internal" project....? > > > D > -- 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