diff options
author | simon <simon@lindenlab.com> | 2024-01-03 01:34:58 +0000 |
---|---|---|
committer | simon <simon@lindenlab.com> | 2024-01-03 01:34:58 +0000 |
commit | 520f710cd6b5826403383f8c3488a94c64ac8081 (patch) | |
tree | 3936a248d991e11b82768ff10a5079789299bb53 /indra/cmake/Python.cmake | |
parent | d4c3300f9b81296f765c83c1e822251e86d91925 (diff) | |
parent | a592292242e29d0379ee72572a434359e1e892d1 (diff) |
Merge remote-tracking branch 'origin/main' into simon/sl-20635-new-data
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) |