From b8d39da3116f4423e9ae3d9846f4dc0ab3caecf0 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Tue, 14 Jun 2016 16:33:35 +0200 Subject: [PATCH] Use correct ecm KDE_INSTALL_ variables --- src/plugins/frontends/freedesktop_frontend/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/frontends/freedesktop_frontend/CMakeLists.txt b/src/plugins/frontends/freedesktop_frontend/CMakeLists.txt index 8a2d35f..b793341 100644 --- a/src/plugins/frontends/freedesktop_frontend/CMakeLists.txt +++ b/src/plugins/frontends/freedesktop_frontend/CMakeLists.txt @@ -22,12 +22,12 @@ if(Qt5DBus_FOUND) if(WIN32) set(SNORE_LOCATION ../bin/snorenotify) else() - set(SNORE_LOCATION ${CMAKE_INSTALL_PREFIX}/bin/snorenotify) + set(SNORE_LOCATION ${KDE_INSTALL_BINDIR}/snorenotify) endif() configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.freedesktop.Notifications.service.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Notifications.service) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Notifications.service - DESTINATION share/dbus-1/services/) + DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR}) endif() install(TARGETS libsnore_frontend_freedesktop ${SNORE_PLUGIN_INSTALL_PATH})