From 4a706213ef9fea07680fab2c1b50fd5a8dd002bc Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 11 Jun 2021 12:42:23 +0200 Subject: Fix service file installation --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3 From c1bd489ce9ebfb0d3273e810fd3d379916e27722 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 11 Jun 2021 12:03:50 +0200 Subject: Fix .desktop file install location --- data/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 4376a49..21f7cba 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -10,7 +10,7 @@ endif() # ayatana-indicator-application.desktop configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator-application.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application.desktop" @ONLY) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/etc/xdg/autostart") +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application.desktop" DESTINATION "/etc/xdg/autostart") # ordering-override.keyfile -- cgit v1.2.3