Wizards: Move cmake required version before project line

This is apparently necessary to establish policy before setting up
things.

Task-number: QTCREATORBUG-17197
Change-Id: I8b12e752e05e65b2275c0a97cf1b727f60c88cd0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2016-10-31 09:29:19 +01:00
parent f1d3e7c8e7
commit 137695cae7
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
project(%{ProjectName})
cmake_minimum_required(VERSION 2.8)
project(%{ProjectName})
aux_source_directory(. SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})

View File

@@ -1,4 +1,5 @@
project(%{ProjectName})
cmake_minimum_required(VERSION 2.8)
project(%{ProjectName})
aux_source_directory(. SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})