#include doesn't find matplot.h #364
-
When using the embed as subdirectory procedure to get Matplot++, I'm able to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
links matplot to your target, which propagates the INCLUDE_DIRECTORIES property to your target, which now builds with |
Beta Was this translation helpful? Give feedback.
-
I made a post on CMake's discourse. A user there solved the problem. I needed to add |
Beta Was this translation helpful? Give feedback.
I made a post on CMake's discourse. A user there solved the problem. I needed to add
target_link_libraries(knn PUBLIC Matplot++::matplot)
in the CMakeLists.txt file of the knn module.