From 95474bf0a54e6f037b275f529331a6d53cd79862 Mon Sep 17 00:00:00 2001 From: Dario Freddi Date: Wed, 2 Sep 2009 18:31:40 +0000 Subject: [PATCH] BUG:206020 The problem actually does not exists. After consulting some books, it is quite clear that Kauth should be born before Plasma and anything else beyond KDECore. So we can just tell code in KDELibs using it to consider local paths instead of global ones. One of the best bug titles ever, by the way :) svn path=/trunk/KDE/kdelibs/; revision=1019062 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b30a449de..5e03ea24a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -347,6 +347,10 @@ install(FILES plasmoidservice.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/ include(MacroKAuth) +set( KDE4_KAUTH_DBUS_POLICY_STUB ${CMAKE_SOURCE_DIR}/kdecore/auth/backends/dbus/dbus_policy.stub) +set( KDE4_KAUTH_DBUS_SERVICE_STUB ${CMAKE_SOURCE_DIR}/kdecore/auth/backends/dbus/dbus_service.stub) +set( KDE4_KAUTH_POLICY_GEN ${CMAKE_BINARY_DIR}/bin/kauth-policy-gen) + kde4_auth_add_helper(kcmremotewidgetshelper org.kde.kcontrol.kcmremotewidgets root private/remotewidgetshelper.cpp) kde4_auth_register_actions(org.kde.kcontrol.kcmremotewidgets kcm_remotewidgets.actions)