The repository currently does not support CMake versions 3.8 to 3.12.4 because the FindPython3.cmake module was not added until 3.12.4 and the minimum CMake version for the project is set to 3.8. This PR adds the necessary CMake code to still correctly compile and link to the relevant Python libraries.
The repository currently does not support CMake versions 3.8 to 3.12.4 because the FindPython3.cmake module was not added until 3.12.4 and the minimum CMake version for the project is set to 3.8. This PR adds the necessary CMake code to still correctly compile and link to the relevant Python libraries.