Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / libraries / science / math / or-tools / offline.patch
blob1a2a4dbe3631b7061c9c1d7bfe04986abeb5aad2
1 diff --git a/cmake/dependencies/CMakeLists.txt b/cmake/dependencies/CMakeLists.txt
2 index af3a28c113..ba92c3c55e 100644
3 --- a/cmake/dependencies/CMakeLists.txt
4 +++ b/cmake/dependencies/CMakeLists.txt
5 @@ -177,9 +177,8 @@ if(BUILD_PYTHON AND BUILD_pybind11_protobuf)
6 list(APPEND CMAKE_MESSAGE_INDENT " ")
7 FetchContent_Declare(
8 pybind11_protobuf
9 - GIT_REPOSITORY "https://github.com/pybind/pybind11_protobuf.git"
10 - GIT_TAG "main"
11 - PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11_protobuf.patch"
12 + SOURCE_DIR @pybind11_protobuf@
13 + PATCH_COMMAND patch -p1 < "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11_protobuf.patch"
15 FetchContent_MakeAvailable(pybind11_protobuf)
16 list(POP_BACK CMAKE_MESSAGE_INDENT)