Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Increase cmake minimum version #1213

Description

@karczex

Increase cmake minimum version to cmake >= 3.18

Rationale

Since 3.18 Cmake supports REQUIRED parameter in find_program(), which would simplify cmake files in many places all over codebase.

instead of:

find_program(variable_name NAMES program_name)
if( NOT variable_name)
     message(FATAL_ERROR "program not found")
endif()

may be just:

find_program(variable_name NAMES program_name REQUIRED)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions