Tests/QtAutogen: Require CMake 3.1 to set policies everywhere

We want CMP0020 set in the autorcc_depends test.  Also the test should
now only run when we can support per-config source files.
This commit is contained in:
Brad King 2015-04-16 13:57:17 -04:00
parent 4d08e6b6dd
commit 4556640855
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.11)
cmake_minimum_required(VERSION 3.1)
project(QtAutogen)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.1)
project(autorcc_depends)
set(CMAKE_AUTORCC ON)