diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2020-04-05 15:47:49 +0200 |
---|---|---|
committer | Bernd Kuhls <bernd.kuhls@t-online.de> | 2020-04-05 15:47:49 +0200 |
commit | 2b6b03d6f2a36fd7f2d1a2de3fed22511dfae9a9 (patch) | |
tree | ca993fb22189f50c69449e98916f495fd25b6849 /cmake/modules/FindPython.cmake | |
parent | 6de683c281df336a844addf15bddbaf82ed3daec (diff) |
cmake: add check for python3.8
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 e0dd9eaa71..e39d4e51ba 100644 --- a/cmake/modules/FindPython.cmake +++ b/cmake/modules/FindPython.cmake @@ -10,8 +10,8 @@ if(PKG_CONFIG_FOUND) endif() find_program(PYTHON_EXECUTABLE python3 ONLY_CMAKE_FIND_ROOT_PATH) -find_library(PYTHON_LIBRARY NAMES python3.7 python3.6 python3.5 PATHS ${PC_PYTHON_LIBDIR}) -find_path(PYTHON_INCLUDE_DIR NAMES Python.h PATHS ${PC_PYTHON_INCLUDE_DIRS} PATH_SUFFIXES python3.7 python3.6 python3.5) +find_library(PYTHON_LIBRARY NAMES python3.8 python3.7 python3.6 python3.5 PATHS ${PC_PYTHON_LIBDIR}) +find_path(PYTHON_INCLUDE_DIR NAMES Python.h PATHS ${PC_PYTHON_INCLUDE_DIRS} PATH_SUFFIXES python3.8 python3.7 python3.6 python3.5) if(KODI_DEPENDSBUILD) find_library(FFI_LIBRARY ffi REQUIRED) |