Set Python3_FIND_STRATEGY to LOCATION to make sure CMake uses the Python from our current shell environment, like a Conda environment. This should avoid it picking up the system Python by mistake.
Updated pybind11 settings to match the Python version found by CMake.
Enforced requirement to use C++17 since the new foreach loop structure is not compatible with older versions.
This should fix a few issues where the wrong python version is being used.
Made a few tweaks to our CMake setup:
Python3_FIND_STRATEGY
toLOCATION
to make sure CMake uses the Python from our current shell environment, like a Conda environment. This should avoid it picking up the system Python by mistake.foreach
loop structure is not compatible with older versions.This should fix a few issues where the wrong python version is being used.