aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindPython.cmake
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2020-04-05 15:47:49 +0200
committerBernd Kuhls <bernd.kuhls@t-online.de>2020-04-05 15:47:49 +0200
commit2b6b03d6f2a36fd7f2d1a2de3fed22511dfae9a9 (patch)
treeca993fb22189f50c69449e98916f495fd25b6849 /cmake/modules/FindPython.cmake
parent6de683c281df336a844addf15bddbaf82ed3daec (diff)
cmake: add check for python3.8
Diffstat (limited to 'cmake/modules/FindPython.cmake')
-rw-r--r--cmake/modules/FindPython.cmake4
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)