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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/7/head
Michele Calgaro 2 weeks ago
parent 68064f8d86
commit 09027c3afd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -6,8 +6,13 @@
# This software is licensed under the terms of the GNU GPL v3 license. #
################################################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
##### set project name ###########################
project( xdg-desktop-portal-tde )
### Required modules ###########################################################
@ -21,9 +26,9 @@ include( CheckCXXSourceCompiles )
### TDE macros #################################################################
include( TDEMacros )
tde_set_project_version( )
include( TDESetupPaths )
### Basic project setup ########################################################
tde_setup_paths( )
### Optional support ###########################################################

Loading…
Cancel
Save