From d30b4ab1140c3cef75275068d94d235771026402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 22 Apr 2020 08:08:35 +0200 Subject: [PATCH] Switch to new policy for 3.17 cmake --- cmake/ACGQt.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ACGQt.cmake b/cmake/ACGQt.cmake index e91f4b82..994594df 100644 --- a/cmake/ACGQt.cmake +++ b/cmake/ACGQt.cmake @@ -101,7 +101,7 @@ macro (acg_qt5) # Enable automoc set(CMAKE_AUTOMOC ON) - if(${CMAKE_VERSION} VERSION_GREATER "3.17") + if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17") cmake_policy(SET CMP0100 NEW) message("Version greater 3.17, enable policy")