summaryrefslogtreecommitdiff
path: root/math/py-jij-cimod/files/patch-CMakeLists.txt
blob: 68251a0b6c06fdaed6f70047009854e31dd24415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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")