Skip to content

Commit

Permalink
wrap json cmake path with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed May 27, 2024
1 parent 77b1b26 commit 5a243c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/json-download.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ExternalProject_Add(
# Once we have a minimal version support of cmake 3.17, we can switch the command to rm -rF
DOWNLOAD_COMMAND "${CMAKE_COMMAND}" -E remove_directory "${CMAKE_BINARY_DIR}/third-party/json"
COMMAND git clone -c advice.detachedHead=false --branch v3.11.3 https://github.com/nlohmann/json.git --depth 1 json
DOWNLOAD_DIR ${CMAKE_BINARY_DIR}/third-party/
DOWNLOAD_DIR "${CMAKE_BINARY_DIR}/third-party/"

# Override default steps with no action, we just want the clone step.
UPDATE_COMMAND ""
Expand Down

0 comments on commit 5a243c1

Please sign in to comment.