Open notdanhan opened 1 year ago
I experience the same bug, when trying to do a local package install. I also noticed that during install the file in question is not generated:
[username@linux matplotplusplus]$ cmake --install build/local -- Install configuration: "Release" -- Installing: /my/path/.local/lib64/Matplot++/libnodesoup.a -- Installing: /my/path/.local/lib64/cmake/Matplot++/Matplot++ConfigVersion.cmake -- Installing: /my/path/.local/lib64/cmake/Matplot++/Matplot++Config.cmake
cmake -DBUILD_INSTALLER=ON ..
can fix the problem temporarily.
That's interesting. This option
should be ON by default and then trigger the installer
Even if it's OFF, then it shouldn't install Matplot++Config.cmake
at all, and not Matplot++Config.cmake
with no Matplot++Targets.cmake
.
In the latest commit, this is already fixed. The solution I propose is for the commit when this issue is opened.
Bug category
Describe the bug
I am trying to use matplot++ to create a graph for a college assignment I followed the instructions provided in the readme to perform a system-wide install via cmake
I then tried using the snippet provided to find and link the library but it produced the following output
Steps to Reproduce
git clone the latest version of matplotplusplus make a system-wide install following the cmake instructions try link it in a project
Platform
Environment Details: