diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-12-15 18:28:43 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-12-15 18:28:43 +0800 |
commit | 91b49c8bfa061f3d3b8601d5398b1889a9e31850 (patch) | |
tree | 98adc151491a2bee51a70cf7dd37de21d4f32bb3 /indra/cmake/Python.cmake | |
parent | 0cce0b8149e049161ab17f1c608ded2d6cc12b0e (diff) | |
parent | a80e3fe4191aee87c566937953d52fa6498b7f32 (diff) |
Merge tag '7.1.1-release'
source for viewer 7.1.1.7039128750
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) |