forked from mirrors/nixpkgs
Merge pull request #154191 from lourkeur/unbreak/chiapos
This commit is contained in:
commit
a85c71ab7f
|
@ -2,6 +2,7 @@
|
|||
, substituteAll
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, catch2
|
||||
, cmake
|
||||
, cxxopts
|
||||
, ghc_filesystem
|
||||
|
@ -27,6 +28,7 @@ buildPythonPackage rec {
|
|||
(substituteAll {
|
||||
src = ./dont_fetch_dependencies.patch;
|
||||
inherit cxxopts ghc_filesystem;
|
||||
catch2_src = catch2.src;
|
||||
pybind11_src = pybind11.src;
|
||||
})
|
||||
];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b757b70..fcce055 100644
|
||||
index 5d7862b..c2d06a1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -21,23 +21,20 @@ include(${CMAKE_INSTALL_PREFIX}/share/cmake/pybind11/pybind11Config.cmake)
|
||||
|
@ -29,3 +29,13 @@ index b757b70..fcce055 100644
|
|||
)
|
||||
FetchContent_MakeAvailable(gulrak)
|
||||
|
||||
@@ -150,8 +147,7 @@ ENDIF()
|
||||
|
||||
FetchContent_Declare(
|
||||
Catch2
|
||||
- GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
||||
- GIT_TAG v2.13.7
|
||||
+ SOURCE_DIR @catch2_src@
|
||||
)
|
||||
FetchContent_MakeAvailable(Catch2)
|
||||
|
||||
|
|
Loading…
Reference in a new issue