summaryrefslogtreecommitdiff
path: root/Tests/ExternalProject
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-02-15 13:21:32 +1100
committerCraig Scott <craig.scott@crascit.com>2020-02-15 13:23:56 +1100
commitef3194a6f821da30c461363530b8a7059dd85a58 (patch)
tree949ebdd0fc5cca7a6c669c7cad2d1bc97d71c0d0 /Tests/ExternalProject
parent40d1d29cfa732b980e97a3a29da3bbbc9749c408 (diff)
downloadcmake-ef3194a6f821da30c461363530b8a7059dd85a58.tar.gz
ExternalProject: Quote each git --config option to handle spaces
Fixes: #20354
Diffstat (limited to 'Tests/ExternalProject')
-rw-r--r--Tests/ExternalProject/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt
index 3e49176719..450e7e5e0b 100644
--- a/Tests/ExternalProject/CMakeLists.txt
+++ b/Tests/ExternalProject/CMakeLists.txt
@@ -380,7 +380,9 @@ if(do_git_tests)
set(proj TutorialStep1-GIT-config)
ExternalProject_Add(${proj}
GIT_REPOSITORY "${local_git_repo}"
- GIT_CONFIG core.eol=lf core.autocrlf=input
+ GIT_CONFIG core.eol=lf
+ core.autocrlf=input
+ "http.extraheader=AUTHORIZATION: bearer --unsupportedOption"
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
INSTALL_COMMAND ""