Browse Source

[build] Add support for -DUSE_SYSTEM_PYTHON=3.12 ()
dcae461cba9f97679c7bd5b3e34c42ac0d58bfed

dimaandreev 1 year ago
parent
commit
4416a6af47
1 changed files with 5 additions and 0 deletions
  1. 5 0
      build/conf/python.conf

+ 5 - 0
build/conf/python.conf

@@ -112,6 +112,11 @@ when ($USE_SYSTEM_PYTHON) {
             PY_VERSION=3.11
             PY_FRAMEWORK_VERSION=3.11
         }
+        "3.12" ? {
+            _SYSTEM_PYTHON312=yes
+            PY_VERSION=3.12
+            PY_FRAMEWORK_VERSION=3.12
+        }
         default ? {
             FATAL_ERROR_MESSAGE+=invalid USE_SYSTEM_PYTHON value
         }