From ee57ed3cb857504b1329149998c625348eedcea5 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 21 Mar 2019 15:50:45 +0100 Subject: [PATCH] Activate it --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e42fda4..3c8ab0c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,10 +83,10 @@ set_package_properties(Xsltproc PROPERTIES DESCRIPTION "XSLT processor from libx remove_definitions( -DQT_NO_CAST_FROM_ASCII ) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) -#if (${KF5Config_VERSION} STRGREATER "5.56.0") -# add_definitions(-DQT_NO_FOREACH) -# MESSAGE(STATUS "compile without foreach") -#endif() +if (${KF5Config_VERSION} STRGREATER "5.56.0") + add_definitions(-DQT_NO_FOREACH) + MESSAGE(STATUS "compile without foreach") +endif() ########### CMake Config Files ########### set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5MailCommon")