I am using cmake\'s find_package to locate Python3 like so:
find_package
find_package(Python3 REQUIRED COMPONENTS Interpreter)
This works on