From b8576dccbcf657f3a7da37985377fc74ffc52be2 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 11 Feb 2021 10:28:35 +0100 Subject: [PATCH] Gate: Allow build directories with space characters Fixes the FetchContent cases when the build directory contains spaces e.g. cmake -S . -B "build dir" -GNinja --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b05f198..8b3d8ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,9 +66,9 @@ file(WRITE ${CMAKE_BINARY_DIR}/HunterSetup.cmake.in "include(\"${CMAKE_CURRENT_LIST_DIR}/cmake/HunterGate.cmake\")\n" "HunterGate( - URL ${HUNTER_URL} + URL \"${HUNTER_URL}\" SHA1 ${HUNTER_SHA1} - ${HUNTER_GATE_CONFIG} + \"${HUNTER_GATE_CONFIG}\" )\n" )