From 30f4fb9a7189168f8b9fc87001106ef2205a99a2 Mon Sep 17 00:00:00 2001 From: Dario Freddi Date: Mon, 31 Aug 2009 17:13:06 +0000 Subject: Fix modules svn path=/trunk/KDE/kdelibs/; revision=1017843 --- modules/MacroKAuth.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/MacroKAuth.cmake') diff --git a/modules/MacroKAuth.cmake b/modules/MacroKAuth.cmake index f051ee4e..57d994e4 100644 --- a/modules/MacroKAuth.cmake +++ b/modules/MacroKAuth.cmake @@ -55,7 +55,9 @@ elseif(UNIX) COMMENT "Generating ${HELPER_ID}.policy") add_custom_target("actions for ${HELPER_ID}" ALL DEPENDS ${_output}) + if (POLKITQT_FOUND) install(FILES ${_output} DESTINATION ${POLICY_FILES_INSTALL_DIR}) + endif (POLKITQT_FOUND) endif() endmacro(kde4_auth_register_actions) -- cgit v1.2.1