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 you include CLI11 in projects, it is a bit confusing, that it uses CONFIGURE_DEPENDS in its globbing, as normally the user do not add files to libraries. I would suggest adding the idiomatic check IF (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) before the for-loop, to only "reglob", if this is the main project.
If you include CLI11 in projects, it is a bit confusing, that it uses
CONFIGURE_DEPENDS
in its globbing, as normally the user do not add files to libraries. I would suggest adding the idiomatic checkIF (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
before the for-loop, to only "reglob", if this is the main project.CLI11/CMakeLists.txt
Lines 157 to 163 in 4d34311
The text was updated successfully, but these errors were encountered: