diff --git a/CMakeLists.txt b/CMakeLists.txt index 0991b69..4e96079 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.13) cmake_policy(SET CMP0017 NEW) # need include() with .cmake cmake_policy(SET CMP0072 NEW) # FindOpenGL prefers GLVND by default project(QAD) diff --git a/cmake/QtWraps.cmake b/cmake/QtWraps.cmake index 6d661fe..4ab78db 100644 --- a/cmake/QtWraps.cmake +++ b/cmake/QtWraps.cmake @@ -137,6 +137,9 @@ endif() if (POLICY CMP0074) cmake_policy(SET CMP0074 NEW) # ignore _ROOT variables endif() +if (POLICY CMP0177) + cmake_policy(SET CMP0177 OLD) +endif() set(__qt_bug_modules "UiTools") set(__qt_modules_4 "CLucene;Core;Declarative;Gui;Help;main;Multimedia;Network;OpenGL;\