Commit bf7ad595 authored by Thomas Eschenbacher's avatar Thomas Eschenbacher

set cmake policy 0071 to silence messages about AUTOMOC and generated files

parent b5c077ce
...@@ -77,6 +77,11 @@ IF (POLICY CMP0063) ...@@ -77,6 +77,11 @@ IF (POLICY CMP0063)
CMAKE_POLICY(SET CMP0063 NEW) CMAKE_POLICY(SET CMP0063 NEW)
ENDIF (POLICY CMP0063) ENDIF (POLICY CMP0063)
# exclude generated automoc files per default (since cmake 3.10)
IF (POLICY CMP0071)
CMAKE_POLICY(SET CMP0071 NEW)
ENDIF (POLICY CMP0071)
SET(ECM_MIN_VERSION "1.7.0") SET(ECM_MIN_VERSION "1.7.0")
SET(QT_MIN_VERSION "5.4.0") SET(QT_MIN_VERSION "5.4.0")
SET(KF5_MIN_VERSION "5.33.0") SET(KF5_MIN_VERSION "5.33.0")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment