mirror of
https://github.com/openwrt/packages.git
synced 2025-10-16 23:45:45 +00:00
Remove no longer needed GCC14 patch. Make python optional. It's not used anyway. Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
464 B
Diff
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})
|