Skip to content

Create ability to error out if a below minimum required BLT_CXX_STD is set #758

Description

@white238

Maybe have something like BLT_MINIMUM_REQUIRED_BLT_CXX_STD:

if (BLT_CXX_STD MATCHES "^c\\+\\+([0-9]+)$" AND CMAKE_MATCH_1 VERSION_LESS BLT_MINIMUM_REQUIRED_BLT_CXX_STD)
    message(FATAL_ERROR "${PROJECT_NAME} requires BLT_CXX_STD to be c++${BLT_MINIMUM_REQUIRED_BLT_CXX_STD} or higher.")
endif()

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