diff --git a/qad/cmake/QtWraps.cmake b/qad/cmake/QtWraps.cmake index a31f1d9..27ad4e4 100644 --- a/qad/cmake/QtWraps.cmake +++ b/qad/cmake/QtWraps.cmake @@ -104,6 +104,9 @@ cmake_policy(SET CMP0011 NEW) # don`t affect includer policies cmake_policy(SET CMP0020 NEW) # Automatically link Qt executables to qtmain target on Windows +if (POLICY CMP0074) + cmake_policy(SET CMP0074 OLD) # ignore _ROOT variables +endif() set(_QT_VERSIONS_ 4 5)