diff --git a/CMakeLists.txt b/CMakeLists.txt index 4759c91..316682e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,9 @@ function (add_qtestlib_tests test_source_files) endif (DEFINED TEST_SUPPORT_LIBS AND WITH_TESTS) endfunction(add_qtestlib_tests) +find_package(KDE4 REQUIRED) +include (KDE4Defaults) + add_subdirectory (socketsentry-service) add_subdirectory (socketsentry-plasma-engine) add_subdirectory (socketsentry-plasma-widget) diff --git a/socketsentry-plasma-engine/CMakeLists.txt b/socketsentry-plasma-engine/CMakeLists.txt index 6cc3cce..015d666 100644 --- a/socketsentry-plasma-engine/CMakeLists.txt +++ b/socketsentry-plasma-engine/CMakeLists.txt @@ -15,7 +15,6 @@ project (SocketSentryPlasmaEngine) -find_package (KDE4 4.3 REQUIRED) include (KDE4Defaults) add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) diff --git a/socketsentry-plasma-widget/CMakeLists.txt b/socketsentry-plasma-widget/CMakeLists.txt index c0298fb..9fe0ea1 100644 --- a/socketsentry-plasma-widget/CMakeLists.txt +++ b/socketsentry-plasma-widget/CMakeLists.txt @@ -15,8 +15,6 @@ project (SocketSentryPlasmaWidget) -find_package (KDE4 4.3 REQUIRED) -include (KDE4Defaults) find_package (Qt4 4.5 REQUIRED) set (QT_USE_QTNETWORK 1) diff --git a/socketsentry-plasma-widget/img/CMakeLists.txt b/socketsentry-plasma-widget/img/CMakeLists.txt index e3da25f..46ac2ea 100644 --- a/socketsentry-plasma-widget/img/CMakeLists.txt +++ b/socketsentry-plasma-widget/img/CMakeLists.txt @@ -15,7 +15,6 @@ project (SocketSentryPlasmaIcons) -find_package(KDE4 REQUIRED) add_definitions (${KDE4_DEFINITIONS}) # Install icons