lava / matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
MIT License
4.27k stars 1.12k forks source link

Support CMake versions 3.8-3.12.4 #314

Open fultoncjb opened 2 years ago

fultoncjb commented 2 years ago

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.