On Wed, 18 Nov 2020 14:30:17 +0100 Marc CHEVRIER <marc.chevr...@gmail.com> 
wrote:
So, for the interpreter, `python3.9’ will be searched first, after
‘python3.8’, etc… When multiple versions are installed, the most
recent version of the interpreter is selected. And, after, only
‘Development’ artefacts matching this version will be searched
for.
Starting with CMake 3.15, the default Python_FIND_STRATEGY is
LOCATION, i.e. the search will stop with the first found version
(see CMP0094).

Therefore, this issue can also be resolved by moving the Debian
default version to the top of the list, thereby making sure that
it is used by default:

https://salsa.debian.org/cmake-team/cmake/-/merge_requests/8

Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to