summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-08 14:34:49 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-08 14:34:49 (GMT)
commit092133b1bace24c718a5798a800570a3f384e618 (patch)
tree92b1dbd635c7c9af3b2eda411ba86c18b197088d /Modules
parent9d68bd6a249e3c58fe4f7cb383ce27c14417c43c (diff)
parent77ee6db50529abc784408d10156d5e4be61b8f18 (diff)
downloadCMake-092133b1bace24c718a5798a800570a3f384e618.zip
CMake-092133b1bace24c718a5798a800570a3f384e618.tar.gz
CMake-092133b1bace24c718a5798a800570a3f384e618.tar.bz2
Merge topic 'ExternalProject_init_selected_submodules'
77ee6db5 Help: Add notes for topic 'ExternalProject_init_selected_submodules' 124243c0 ExternalProject: Add unit tests for GIT_SUBMODULES argument 14e2c3ad ExternalProject: Initialize only selected git submodules (#15590)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 11a24b8..eee1841 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -529,7 +529,7 @@ if(error_code)
endif()
execute_process(
- COMMAND \"${git_EXECUTABLE}\" submodule init
+ COMMAND \"${git_EXECUTABLE}\" submodule init ${git_submodules}
WORKING_DIRECTORY \"${work_dir}/${src_name}\"
RESULT_VARIABLE error_code
)