summaryrefslogtreecommitdiff
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-24 13:22:45 -0500
committerBrad King <brad.king@kitware.com>2017-02-24 13:22:45 -0500
commitdab2ff3e237f1c3c2430e0661281719185ef4eb1 (patch)
tree1521728130507bf4133cf29107d80a40ec733bb1 /Modules/ExternalProject.cmake
parentad3bf56dd210888c94fac33238b35ddccf3a8053 (diff)
parenta9fa6a2c777bf68ac1c6d885fd07b21bf98e3f77 (diff)
downloadcmake-dab2ff3e237f1c3c2430e0661281719185ef4eb1.tar.gz
Merge branch 'ExternalProject-checkout-clarify' into release
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index c3fd3c65bf..00781d6513 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -601,7 +601,7 @@ if(error_code)
endif()
execute_process(
- COMMAND \"${git_EXECUTABLE}\" \${git_options} checkout ${git_tag}
+ COMMAND \"${git_EXECUTABLE}\" \${git_options} checkout ${git_tag} --
WORKING_DIRECTORY \"${work_dir}/${src_name}\"
RESULT_VARIABLE error_code
)