The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15790 ====================================================================== Reported By: Ilya Assigned To: ====================================================================== Project: CMake Issue ID: 15790 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2015-10-14 12:48 EDT Last Modified: 2015-10-14 12:48 EDT ====================================================================== Summary: Updating GIT_SUBMODULES of already cloned repo will not init them Description: If project added via ExternalProject_Add that specifies GIT_URL and GIT_SUBMODULES was already cloned, adding new module to GIT_SUBMODULES will not cause cmake to fetch it. Instead it will fail with the following error:
Submodule path 'Resources' not initialized Maybe you want to use 'update --init'? Steps to Reproduce: 1. Add ExternalProject_Add that specifies both GIT_URL and GIT_SUBMODULES 2. Generate and build 3. Append another submodule to GIT_SUBMODULES 4. Build again ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-10-14 12:48 Ilya New Issue ====================================================================== -- 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://public.kitware.com/mailman/listinfo/cmake-developers