Cannot override CMake options when fetching the library via FetchContent_Declare()
envgap__HowardHinnant__date-812
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
88a3b1512661decb78c60841f819a14eb200423c- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
HowardHinnant/date #812 · read the original issue
CMake 3.13 added support for adjusting option() variables of libraries which are fetched by `FetchContent_Declare()`. However, the `date` library CMakeLits.txt file does not support that and so an ugly hacks are needed to make it work. The fix is really trivial and I will submit a PR about that.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]