View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015790CMakeCMakepublic2015-10-14 12:482016-06-10 14:31
ReporterIlya 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 3.3.2 
Target VersionFixed in Version 
Summary0015790: Updating GIT_SUBMODULES of already cloned repo will not init them
DescriptionIf 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 Reproduce1. 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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0039602)
Ben Boeckel (developer)
2015-10-14 13:10

Related, it should probably also run "git submodule sync" to pick up any changed submodule URLs.
(0042856)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2015-10-14 12:48 Ilya New Issue
2015-10-14 13:10 Ben Boeckel Note Added: 0039602
2016-06-10 14:29 Kitware Robot Note Added: 0042856
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team