diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-11 23:50:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-11 23:50:01 +0300 |
commit | 7952ed872acceafbfec9e161b48f16059cf31804 (patch) | |
tree | c2b68bfa12dd50ea31705f4fcc26f75a4b8270c7 /build_files/cmake/Modules | |
parent | 35ddcb4041e0c98f9a77827e0b8b031c83cec253 (diff) |
CMake: update python to 3.9.1
Default to Python version 3.9.
Reviewed By: LazyDodo, sybren, sebbas
Ref D10380
Diffstat (limited to 'build_files/cmake/Modules')
-rw-r--r-- | build_files/cmake/Modules/FindPythonLibsUnix.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
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}) |