summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-24 11:34:43 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-24 11:34:49 -0800
commit795f6e24ea60deb0e874b7ff07f003827ed2ee47 (patch)
tree779e6feec6b83cfc32a3363ff0f59bcf1bb41049
parent36c8a7e4cadaeb86e71a220710936a2e1e4290dd (diff)
downloadsubsurface-795f6e24ea60deb0e874b7ff07f003827ed2ee47.tar.gz
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 <dirk@hohndel.org>
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)