I am using cmake version 3.17 on windows with the following code to find the Python3 interpreter.
set(Python3_FIND_VIRTUALENV FIRST) find_package(Python3 REQU