Skip to content

Specify include directories as system includes #6

Description

@Randalphwa

Migrated from vector-of-bool/cmrc issue #41 by @

When using strict compiler warnings with clang, the header cmrc.hpp emits conversion warnings.
When building a project using cmrc, such a warning should not appear to the user, so I woud propose to specify the include directory as a system include to silence warnings:

target_include_directories(cmrc-base SYSTEM INTERFACE $<BUILD_INTERFACE:${CMRC_INCLUDE_DIR}>)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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