Do not define CONFIGURE_DEPENDS for library usage
envgap__CLIUtils__CLI11-632
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
4d34311cb16a42487c9f1ce587f25ebada5a2bb3- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
CLIUtils/CLI11 #632 · read the original issue
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. https://github.com/CLIUtils/CLI11/blob/4d34311cb16a42487c9f1ce587f25ebada5a2bb3/CMakeLists.txt#L157-L163
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]