From 5c1bca6b854573fac8272a5ee7e7812043c8f1db Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Wed, 20 Aug 2014 13:37:50 +0200 Subject: [PATCH] remove leftover from kde4 support --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 91d22fd..b0d6806 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,15 +25,12 @@ set(SNORE_VERSION_MINOR 5) set(SNORE_VERSION_PATCH 0) set(SNORE_VERSION_SUFFIX "rc1") -if(WITH_KDE) - find_package(KDE4) -endif() - set(SNORE_SUFFIX "") set(SNORE_CamelCase_SUFFIX "") if(WITH_QT4) find_package(Qt4 REQUIRED) + include_directories( ${QT_INCLUDES} ) else() if(WITH_KDE) find_package(ECM 0.0.9 NO_MODULE) @@ -47,7 +44,7 @@ else() set(SNORE_SUFFIX "-qt5") set(SNORE_CamelCase_SUFFIX "Qt5") endif() -include_directories( ${QT_INCLUDES} ) + if(NOT ECM_FOUND) include(NoKDE) else()