You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use add_executable() it automatically "knows" where to find every h-file.
However, add_library() with the same source files (except for main.cpp) requires adding target_include_directories() with the locations of all the h-files.
Shouldn't CPM find the h-files "for everyone" ?
The text was updated successfully, but these errors were encountered:
If I use
add_executable()
it automatically "knows" where to find every h-file.However,
add_library()
with the same source files (except for main.cpp) requires addingtarget_include_directories()
with the locations of all the h-files.Shouldn't CPM find the h-files "for everyone" ?
The text was updated successfully, but these errors were encountered: