From 7952ed872acceafbfec9e161b48f16059cf31804 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 12 Feb 2021 07:50:01 +1100 Subject: CMake: update python to 3.9.1 Default to Python version 3.9. Reviewed By: LazyDodo, sybren, sebbas Ref D10380 --- build_files/cmake/Modules/FindPythonLibsUnix.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build_files/cmake/Modules') diff --git a/build_files/cmake/Modules/FindPythonLibsUnix.cmake b/build_files/cmake/Modules/FindPythonLibsUnix.cmake index 5b3f2e52256..78f8e03807f 100644 --- a/build_files/cmake/Modules/FindPythonLibsUnix.cmake +++ b/build_files/cmake/Modules/FindPythonLibsUnix.cmake @@ -34,7 +34,7 @@ IF(NOT PYTHON_ROOT_DIR AND NOT $ENV{PYTHON_ROOT_DIR} STREQUAL "") SET(PYTHON_ROOT_DIR $ENV{PYTHON_ROOT_DIR}) ENDIF() -SET(PYTHON_VERSION 3.7 CACHE STRING "Python Version (major and minor only)") +SET(PYTHON_VERSION 3.9 CACHE STRING "Python Version (major and minor only)") MARK_AS_ADVANCED(PYTHON_VERSION) @@ -73,8 +73,8 @@ SET(_python_SEARCH_DIRS # only search for the dirs if we haven't already IF((NOT _IS_INC_DEF) OR (NOT _IS_INC_CONF_DEF) OR (NOT _IS_LIB_DEF) OR (NOT _IS_LIB_PATH_DEF)) SET(_PYTHON_ABI_FLAGS_TEST - "m;mu;u; " # release - "dm;dmu;du;d" # debug + "u; " # release + "du;d" # debug ) FOREACH(_CURRENT_ABI_FLAGS ${_PYTHON_ABI_FLAGS_TEST}) -- cgit v1.2.3