Open Nonesence999 opened 1 year ago
I'm not an expert in CMake, but would #664 fix this issue, too?
Yes, it would, because it will associate the headers with the target. When you write target_link_libraries(PROJECT PRIVATE jansson)
the PUBLIC and INTERFACE dependencies of the jansson target will also become dependencies of the PROJECT
target.
https://cmake.org/cmake/help/v3.1/command/target_link_libraries.html
In jansson.h:
Issue whit cmake (I cannot include it) :