Skip to content

Undesired CMake warning message on option deactivation #1158

@JD31

Description

@JD31

When building h3 with options ENABLE_FORMAT or ENABLE_LINTING to OFF, we expect no warning because it is a user decision.
But the code today will trigger a warning like clang-format was not detected, so automatic source code reformatting is disabled which is incorrect (the user just decided not to use formating, clang-format is potentially available, we don't expect a warning)

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