From 9f8dbc1d2f518a50f4b5cefc3ba4c650321c274e Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 18 Jul 2018 16:25:54 +0200 Subject: [PATCH] Update CMake template for console projects to newer standards Add version information as well as limit the supported languages to C++. Change-Id: I7a931139c6eb1a4457a89925fc7497c754184833 Reviewed-by: Christian Stenger --- .../templates/wizards/projects/consoleapp/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/qtcreator/templates/wizards/projects/consoleapp/CMakeLists.txt b/share/qtcreator/templates/wizards/projects/consoleapp/CMakeLists.txt index 0d3c1252fa0..4beef640b7c 100644 --- a/share/qtcreator/templates/wizards/projects/consoleapp/CMakeLists.txt +++ b/share/qtcreator/templates/wizards/projects/consoleapp/CMakeLists.txt @@ -1,6 +1,6 @@ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.0.0) -project(%{ProjectName}) +project(%{ProjectName} VERSION 0.1 LANGUAGES CXX) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON)