Skip to content

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

@white238

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions