summaryrefslogtreecommitdiff
path: root/math/py-jij-cimod/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-jij-cimod/files/patch-CMakeLists.txt')
-rw-r--r--math/py-jij-cimod/files/patch-CMakeLists.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/py-jij-cimod/files/patch-CMakeLists.txt b/math/py-jij-cimod/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..68251a0b6c06
--- /dev/null
+++ b/math/py-jij-cimod/files/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
+--- CMakeLists.txt.orig 2022-11-09 12:37:21 UTC
++++ CMakeLists.txt
+@@ -65,13 +65,10 @@ ENDIF ()
+ ENDIF ()
+ ENDIF ()
+
+-IF (CMAKE_REQUIRE_FAILE)
+- SET (CMAKE_REQUIRE_FIND_PACKAGE_Eigen3 ON)
+- SET (CMAKE_REQUIRE_FIND_PACKAGE_nlohmann_json ON)
+- SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11 ON)
+- SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11_json ON)
+- SET (CMAKE_REQUIRE_FIND_PACKAGE_GTest ON)
+-ENDIF ()
++SET (CMAKE_REQUIRE_FIND_PACKAGE_Eigen3 ON)
++SET (CMAKE_REQUIRE_FIND_PACKAGE_nlohmann_json ON)
++SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11 ON)
++SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11_json ON)
+
+ # detect operating system and host processor
+ MESSAGE (STATUS "We are on a ${CMAKE_SYSTEM_NAME} system")