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

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/5/head
Slávek Banko 2 months ago
parent 3332ee613b
commit 2c37e2cf53
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