Skip to content

[BUG] CMake error when using PyBind11 and range-v3 as submodules #2420

Closed
@est77

Description

@est77

The PR that introduced this error is #2370

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 range-v3 repo).

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions