CMake error when using range-v3 and PyBind11 as submodules
envgap__ericniebler__range-v3-1556
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
b324fa0eedd71764608740fde915d6dbb1510716- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
ericniebler/range-v3 #1556 · read the original issue
add_library cannot create target "headers" because another target with the same name already exists. The existing target is a custom target created in source directory "extern/range-v3". See documentation for policy CMP0002 for more details. Would it be possible to rename the target to something less generic to avoid this issue? (I opened another issue in PyBind11's repo). Thanks.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]