freebsd-ports/net/ceph14/files/patch-cmake_modules_FindPython3Libs.cmake
Dima Panov 27216f2887 net/ceph14: switch to PYTHON_EXT_SUFFIX
Allow to build with python39
Use binary_alias for sphinx-build
2020-12-24 13:33:22 +00:00

12 lines
426 B
CMake

--- cmake/modules/FindPython3Libs.cmake.orig 2019-09-13 18:07:41 UTC
+++ cmake/modules/FindPython3Libs.cmake
@@ -101,7 +101,7 @@ endif()
# To avoid picking up the system Python.h pre-maturely.
set(CMAKE_FIND_FRAMEWORK LAST)
-set(_PYTHON3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(Python3Libs_FIND_VERSION)
if(Python3Libs_FIND_VERSION_COUNT GREATER 1)