aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-06-11 12:42:23 +0200
committerRobert Tari <robert@tari.in>2021-06-11 12:42:23 +0200
commit4a706213ef9fea07680fab2c1b50fd5a8dd002bc (patch)
tree85e266bacf26bf1a154110c30c175e0f65ca3747
parent95a9f27ded2d367c7af4944172405fa5c47a9eae (diff)
downloadayatana-indicator-application-4a706213ef9fea07680fab2c1b50fd5a8dd002bc.tar.gz
ayatana-indicator-application-4a706213ef9fea07680fab2c1b50fd5a8dd002bc.tar.bz2
ayatana-indicator-application-4a706213ef9fea07680fab2c1b50fd5a8dd002bc.zip
Fix service file installation
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1de3abd..66b86ad 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -109,4 +109,4 @@ target_include_directories("ayatana-indicator-application-service" PUBLIC ${PROJ
target_include_directories("ayatana-indicator-application-service" PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries("ayatana-indicator-application-service" ${PROJECT_DEPS_LIBRARIES})
add_dependencies("ayatana-indicator-application-service" "ayatana-application")
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application-service" DESTINATION "${CMAKE_INSTALL_FULL_LIBEXECDIR}/ayatana-indicator-application")
+install(TARGETS "ayatana-indicator-application-service" RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_LIBEXECDIR}/ayatana-indicator-application")