--- a/corepkit/CMakeLists.txt +++ b/corepkit/Cmakelists.txt @@ -32,4 +32,4 @@ target_link_libraries( corepkit Qt5::Core ) install( TARGETS corepkit DESTINATION libexec/coreapps/ ) -install( FILES org.cubocore.coreapps.policy DESTINATION /usr/share/polkit-1/actions/ ) +install( FILES org.cubocore.coreapps.policy DESTINATION ${CMAKE_INSTALL_PREFIX}/usr/share/polkit-1/actions/ )