summaryrefslogtreecommitdiffstats
path: root/utils/sumo/patches/020-python.patch
blob: 743c498ac545c0d7d5346ce106f62820a68bb349 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -197,7 +197,7 @@ if (SKBUILD OR ${CMAKE_VERSION} VERSION_
     find_package(PythonInterp REQUIRED)
     find_package(PythonLibs)
 else()
-    find_package(Python REQUIRED COMPONENTS Interpreter Development)
+    find_package(Python COMPONENTS Interpreter Development)
     # define variables for compatibility. refactor once older cmake unsupported
     if (Python_FOUND)
         set(PYTHONLIBS_FOUND ${Python_FOUND})