Skip to content

Build without JSON #81

@h-2

Description

@h-2

Hi,
I am including this project as a dependency in an existing large codebase. That codebase has already included nlohmann_json via other means. This leads to a clash when this project's CMakeLists.txt unconditionally also fetches the library.

Could you do an OPTIONAL call to find_package before invoking fetchContent for the JSON library? Or would you accept a PR for this?

Thank you

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