diff options
Diffstat (limited to 'modules/MacroKAuth.cmake')
-rw-r--r-- | modules/MacroKAuth.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
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) |