Git commit f1979e9ae5c812d61fd8c76a0d7903ddfd9d4ad9 by Jaroslaw Staniek. Committed on 31/01/2018 at 21:50. Pushed by staniek into branch '3.1'. Set policy CMP0071 (AUTOMOC) to remove warnings in cmake >=3D 3.10 FIXED-IN:3.1.0 M +3 -0 cmake/modules/SetKexiCMakePolicies.cmake https://commits.kde.org/kexi/f1979e9ae5c812d61fd8c76a0d7903ddfd9d4ad9 diff --git a/cmake/modules/SetKexiCMakePolicies.cmake b/cmake/modules/SetKe= xiCMakePolicies.cmake index 62b9d3e8f..bc28d8a8f 100644 --- a/cmake/modules/SetKexiCMakePolicies.cmake +++ b/cmake/modules/SetKexiCMakePolicies.cmake @@ -14,3 +14,6 @@ endif() if(POLICY CMP0063) # Honor visibility properties for all target types (sin= ce cmake 3.3) cmake_policy(SET CMP0063 NEW) endif() +if(POLICY CMP0071) # Don't warn when combining AUTOMOC with qt5_wrap_ui() = or qt5_add_resources() (since cmake 3.10) + cmake_policy(SET CMP0071 NEW) +endif()