[cmake-developers] [CMake 0015790]: Updating GIT_SUBMODULES of already cloned repo will not init them

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 14 12:48:31 EDT 2015


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                                    
======================================================================



More information about the cmake-developers mailing list