diff options
author | Brad Linden <brad@lindenlab.com> | 2023-12-14 12:07:45 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2023-12-14 12:07:45 -0800 |
commit | 32de0cb67d824498d0fc9d489ce19731ebfddfdf (patch) | |
tree | 9fd52f420543a5c4dc45215d7ed49faf94f386fe /indra/cmake/Python.cmake | |
parent | 7bfe590a3669a005d4269cdcf378891080264dce (diff) | |
parent | 4c791e098d3abafa406e0e269038c40aae67f66c (diff) |
Merge branch 'DRTVWR-596' into DRTVWR-601
Diffstat (limited to 'indra/cmake/Python.cmake')
-rw-r--r-- | indra/cmake/Python.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/Python.cmake b/indra/cmake/Python.cmake index f9259f6c2b..da5d2ef22c 100644 --- a/indra/cmake/Python.cmake +++ b/indra/cmake/Python.cmake @@ -13,7 +13,7 @@ elseif (WINDOWS) foreach(hive HKEY_CURRENT_USER HKEY_LOCAL_MACHINE) # prefer more recent Python versions to older ones, if multiple versions # are installed - foreach(pyver 3.11 3.10 3.9 3.8 3.7) + foreach(pyver 3.12 3.11 3.10 3.9 3.8 3.7) list(APPEND regpaths "[${hive}\\SOFTWARE\\Python\\PythonCore\\${pyver}\\InstallPath]") endforeach() endforeach() @@ -40,7 +40,7 @@ elseif (WINDOWS) ${regpaths} ${pymaybe} ) - include(FindPythonInterp) + find_package(Python3 COMPONENTS Interpreter) else() find_program(python python3) |