From 795f6e24ea60deb0e874b7ff07f003827ed2ee47 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 24 Dec 2017 11:34:43 -0800 Subject: [PATCH] Silence cmake 3.10 warnings Explicitly turning of automoc and friends for every single auto generated file seems a rather dumb approach... Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 650b0d43b..c5d7dd89c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,9 @@ project(Subsurface) cmake_minimum_required(VERSION 2.8.11) +# don't process generated files +cmake_policy(SET CMP0071 OLD) + # global settings set(CMAKE_AUTOMOC ON)