cmake 3.0.0 (#480)

This commit is contained in:
brindosch
2017-10-13 00:06:31 +02:00
committed by GitHub
parent 9cc6c75633
commit 992dd6ea84
14 changed files with 23 additions and 32 deletions

View File

@@ -1,9 +1,11 @@
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.0.0)
PROJECT(hyperion)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
# auto prepare .qrc files
set(CMAKE_AUTORCC ON)
IF ( POLICY CMP0026 )
CMAKE_POLICY( SET CMP0026 OLD )