diff options
| author | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
| commit | 3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f (patch) | |
| tree | 921f4829b32126f80f9113c124f2e14c0ebce8d9 /cmake/modules/FindPython.cmake | |
| parent | be933ef2241d79558f91796cc5b3a161f72ebf9c (diff) | |
| download | kodi-pvr-build-Matrix.tar.gz kodi-pvr-build-Matrix.tar.bz2 kodi-pvr-build-Matrix.zip | |
sync with upstreamMatrix
Diffstat (limited to 'cmake/modules/FindPython.cmake')
| -rw-r--r-- | cmake/modules/FindPython.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindPython.cmake b/cmake/modules/FindPython.cmake index e39d4e5..7bbda13 100644 --- a/cmake/modules/FindPython.cmake +++ b/cmake/modules/FindPython.cmake | |||
| @@ -10,8 +10,8 @@ if(PKG_CONFIG_FOUND) | |||
| 10 | endif() | 10 | endif() |
| 11 | 11 | ||
| 12 | find_program(PYTHON_EXECUTABLE python3 ONLY_CMAKE_FIND_ROOT_PATH) | 12 | find_program(PYTHON_EXECUTABLE python3 ONLY_CMAKE_FIND_ROOT_PATH) |
| 13 | find_library(PYTHON_LIBRARY NAMES python3.8 python3.7 python3.6 python3.5 PATHS ${PC_PYTHON_LIBDIR}) | 13 | find_library(PYTHON_LIBRARY NAMES python3.9 python3.8 python3.7 python3.6 python3.5 PATHS ${PC_PYTHON_LIBDIR}) |
| 14 | find_path(PYTHON_INCLUDE_DIR NAMES Python.h PATHS ${PC_PYTHON_INCLUDE_DIRS} PATH_SUFFIXES python3.8 python3.7 python3.6 python3.5) | 14 | find_path(PYTHON_INCLUDE_DIR NAMES Python.h PATHS ${PC_PYTHON_INCLUDE_DIRS} PATH_SUFFIXES python3.9 python3.8 python3.7 python3.6 python3.5) |
| 15 | 15 | ||
| 16 | if(KODI_DEPENDSBUILD) | 16 | if(KODI_DEPENDSBUILD) |
| 17 | find_library(FFI_LIBRARY ffi REQUIRED) | 17 | find_library(FFI_LIBRARY ffi REQUIRED) |
