diff options
Diffstat (limited to '0-pybind11-json-vendor-change-cmake-download.patch')
-rw-r--r-- | 0-pybind11-json-vendor-change-cmake-download.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/0-pybind11-json-vendor-change-cmake-download.patch b/0-pybind11-json-vendor-change-cmake-download.patch new file mode 100644 index 0000000..1be9ba6 --- /dev/null +++ b/0-pybind11-json-vendor-change-cmake-download.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 733471d..eed3268 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -23,9 +23,7 @@ if(NOT pybind11_json_FOUND) + include(ExternalProject) + set(pybind11_json_version 0fbbe3bbb27bd07a5ec7d71cbb1f17eaf4d37702) + ExternalProject_Add(pybind11_json-${pybind11_json_version} +- GIT_REPOSITORY https://github.com/pybind/pybind11_json.git +- GIT_TAG ${pybind11_json_version} +- GIT_CONFIG advice.detachedHead=false ++ URL ${CMAKE_CURRENT_SOURCE_DIR}/pybind11_json-${pybind11_json_version}.tar.gz + # Suppress git update due to https://gitlab.kitware.com/cmake/cmake/-/issues/16419 + UPDATE_COMMAND "" + CMAKE_ARGS |