Set the minimum required version of CMake as the first thing in the rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2c37e2cf53)
r14.1.x
Slávek Banko 1 month ago
parent 97269e5a8a
commit 2b18e86c5c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -5,6 +5,13 @@
# Improvements and feedback are welcome. #
################################################################################
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
##### set project name ###########################
project(twin-style-mallory)
### Includes ###################################################################
@ -18,11 +25,8 @@ include(CheckCXXSourceCompiles)
include(TDEMacros)
include(TDESetupPaths)
include(TDEVersion)
### Basic project setup ########################################################
cmake_minimum_required(VERSION ${TDE_CMAKE_MINIMUM_VERSION})
tde_set_project_version()
tde_setup_paths()
### Options ####################################################################

Loading…
Cancel
Save