mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
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>
This commit is contained in:
committed by
Tianling Shen
parent
832b3a4e43
commit
4a022613b8
11
utils/sumo/patches/020-python.patch
Normal file
11
utils/sumo/patches/020-python.patch
Normal file
@@ -0,0 +1,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})
|
||||
Reference in New Issue
Block a user