From 9328462df9008926cfa03166291f0ef45d2e67bd Mon Sep 17 00:00:00 2001 From: David Fairbrother <DavidFair@users.noreply.github.com> Date: Tue, 24 Mar 2020 09:37:13 +0000 Subject: [PATCH] Add quotes to patching step, in case there are spaces Adds quotes to the patching step for span in case there are spaces in the path causing it to fail --- buildconfig/CMake/Span.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildconfig/CMake/Span.cmake b/buildconfig/CMake/Span.cmake index e5020d24c8a..426d1880d95 100644 --- a/buildconfig/CMake/Span.cmake +++ b/buildconfig/CMake/Span.cmake @@ -9,8 +9,8 @@ FetchContent_Declare( span GIT_REPOSITORY https://github.com/tcbrindle/span.git GIT_TAG 08cb4bf0e06c0e36f7e2b64e488ede711a8bb5ad - PATCH_COMMAND ${GIT_EXECUTABLE} reset --hard ${_tag} - COMMAND ${GIT_EXECUTABLE} apply ${_apply_flags} ${CMAKE_SOURCE_DIR}/buildconfig/CMake/span_disable_testing.patch + PATCH_COMMAND "${GIT_EXECUTABLE}" reset --hard ${_tag} + COMMAND "${GIT_EXECUTABLE}" apply ${_apply_flags} "${CMAKE_SOURCE_DIR}/buildconfig/CMake/span_disable_testing.patch" ) FetchContent_GetProperties(span) -- GitLab