Blob Blame History Raw
diff -Naur kstars-2.8.8/CMakeLists.txt kstars-2.8.8.new/CMakeLists.txt
--- kstars-2.8.8/CMakeLists.txt	2017-11-20 09:18:45.000000000 +0100
+++ kstars-2.8.8.new/CMakeLists.txt	2017-12-15 20:32:02.255771364 +0100
@@ -12,6 +12,11 @@
 # minimal requirements
 cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
 
+# Explicitly process generated files with AUTOMOC.
+if(POLICY CMP0071)
+	cmake_policy(SET CMP0071 NEW)
+endif()
+
 string(TIMESTAMP KSTARS_BUILD_TS UTC)
 
 if(BUILD_KSTARS_LITE)