MantisBT - CMake
View Issue Details
0015790CMakeCMakepublic2015-10-14 12:482016-06-10 14:31
Ilya 
Kitware Robot 
normalmajoralways
closedmoved 
CMake 3.3.2 
 
0015790: Updating GIT_SUBMODULES of already cloned repo will not init them
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'?
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
No tags attached.
Issue History
2015-10-14 12:48IlyaNew Issue
2015-10-14 13:10Ben BoeckelNote Added: 0039602
2016-06-10 14:29Kitware RobotNote Added: 0042856
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0039602)
Ben Boeckel   
2015-10-14 13:10   
Related, it should probably also run "git submodule sync" to pick up any changed submodule URLs.
(0042856)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.