alandefreitas / matplotplusplus

Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
https://alandefreitas.github.io/matplotplusplus/
MIT License
4.11k stars 313 forks source link

Matplot++_VERSION isn't defined by cmake scripts #217

Open yurivict opened 2 years ago

yurivict commented 2 years ago

${pkgname}_VERSION is typically expected to be returned by cmake scripts. ${pkgname} is the same name that is used in find_package().

Environment Details:

alandefreitas commented 2 years ago

Is this incorrect

https://github.com/alandefreitas/matplotplusplus/blob/3fd7593f3bf98ca60fdf3db17073ea8bbe161263/CMakeLists.txt#L128

?

yurivict commented 2 years ago

Matplot++ConfigVersion.cmake isn't installed.

alandefreitas commented 2 years ago

Oh... That's right. We need one more of these:

https://github.com/alandefreitas/matplotplusplus/blob/3fd7593f3bf98ca60fdf3db17073ea8bbe161263/CMakeLists.txt#L146