Skip to content
Snippets Groups Projects
Commit 9328462d authored by David Fairbrother's avatar David Fairbrother
Browse files

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
parent 20a6481f
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,8 @@ FetchContent_Declare( ...@@ -9,8 +9,8 @@ FetchContent_Declare(
span span
GIT_REPOSITORY https://github.com/tcbrindle/span.git GIT_REPOSITORY https://github.com/tcbrindle/span.git
GIT_TAG 08cb4bf0e06c0e36f7e2b64e488ede711a8bb5ad GIT_TAG 08cb4bf0e06c0e36f7e2b64e488ede711a8bb5ad
PATCH_COMMAND ${GIT_EXECUTABLE} reset --hard ${_tag} PATCH_COMMAND "${GIT_EXECUTABLE}" reset --hard ${_tag}
COMMAND ${GIT_EXECUTABLE} apply ${_apply_flags} ${CMAKE_SOURCE_DIR}/buildconfig/CMake/span_disable_testing.patch COMMAND "${GIT_EXECUTABLE}" apply ${_apply_flags} "${CMAKE_SOURCE_DIR}/buildconfig/CMake/span_disable_testing.patch"
) )
FetchContent_GetProperties(span) FetchContent_GetProperties(span)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment