diff options
| author | Joachim Gehweiler <44170764+jgehw@users.noreply.github.com> | 2020-10-27 03:30:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-26 19:30:27 -0700 |
| commit | 0ff75ac80b9a3770afb3d2971c572628d80a631e (patch) | |
| tree | 0d47d24d70e283449e8b16eef790c727d8a8deb5 /scripts/cmake/vcpkg_from_git.cmake | |
| parent | 839f53338202245c8756747011c40ed4926d20f4 (diff) | |
| download | vcpkg-0ff75ac80b9a3770afb3d2971c572628d80a631e.tar.gz vcpkg-0ff75ac80b9a3770afb3d2971c572628d80a631e.zip | |
[vcpkg] Fix more cases of semicolon mishandling in "scripts" - follow-up to PR #12926 (#13968)
Diffstat (limited to 'scripts/cmake/vcpkg_from_git.cmake')
| -rw-r--r-- | scripts/cmake/vcpkg_from_git.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_from_git.cmake b/scripts/cmake/vcpkg_from_git.cmake index 860e314c4..39469064f 100644 --- a/scripts/cmake/vcpkg_from_git.cmake +++ b/scripts/cmake/vcpkg_from_git.cmake @@ -41,7 +41,8 @@ include(vcpkg_execute_in_download_mode) function(vcpkg_from_git) set(oneValueArgs OUT_SOURCE_PATH URL REF) set(multipleValuesArgs PATCHES) - cmake_parse_arguments(_vdud "" "${oneValueArgs}" "${multipleValuesArgs}" ${ARGN}) + # parse parameters such that semicolons in options arguments to COMMAND don't get erased + cmake_parse_arguments(PARSE_ARGV 0 _vdud "" "${oneValueArgs}" "${multipleValuesArgs}") if(NOT DEFINED _vdud_OUT_SOURCE_PATH) message(FATAL_ERROR "OUT_SOURCE_PATH must be specified.") |
