From 735193ded1475ab545582540af461b4c76607aab Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 17 Mar 2020 08:00:12 +0100 Subject: [PATCH] GIT_SILENT: Remove DISABLE_DEPRECATED_BEFORE macro. It can break compile when we increase KF5/Qt5 --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7630327b..7e71202c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,10 +41,7 @@ if (${KF5Config_VERSION} STRGREATER "5.56.0") add_definitions(-DQT_NO_FOREACH) MESSAGE(STATUS "compile without foreach") endif() -if (EXISTS "${CMAKE_SOURCE_DIR}/.git") - add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) - add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000) -endif() + add_subdirectory(src) add_subdirectory(doc)