0
0
mirror of https://github.com/openwrt/packages.git synced 2025-10-16 23:45:45 +00:00
Files
packages/utils/sumo/patches/020-python.patch
Rosen Penev 4a022613b8 sumo: update to 1.23.1
Remove no longer needed GCC14 patch.

Make python optional. It's not used anyway.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-07-29 17:00:27 +08:00

12 lines
464 B
Diff

--- 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})