Merge topic 'ExternalProject-checkout-clarify'

a9fa6a2c ExternalProject: Run `git checkout` with `--` to clarify arguments
This commit is contained in:
Brad King
2017-02-27 09:11:25 -05:00
committed by CMake Topic Stage

View File

@@ -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
)