diff --git a/startkde/ksyncdbusenv/CMakeLists.txt b/startkde/ksyncdbusenv/CMakeLists.txt index 9fabf1589..6f085937e 100644 --- a/startkde/ksyncdbusenv/CMakeLists.txt +++ b/startkde/ksyncdbusenv/CMakeLists.txt @@ -2,4 +2,4 @@ add_executable(ksyncdbusenv ksyncdbusenv.cpp) ecm_mark_nongui_executable(ksyncdbusenv) target_link_libraries(ksyncdbusenv Qt5::Core Qt5::DBus) -install(TARGETS ksyncdbusenv DESTINATION ${CMAKE_INSTALL_PREFIX}/${KF5_LIBEXEC_INSTALL_DIR}) +install(TARGETS ksyncdbusenv DESTINATION ${LIBEXEC_INSTALL_DIR}) diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake index e68ee77ef..ea0bdfe0f 100644 --- a/startkde/startkde.cmake +++ b/startkde/startkde.cmake @@ -343,7 +343,7 @@ if test -n "PAM_KWALLET_LOGIN" ; then fi # At this point all environment variables are set, let's send it to the DBus session server to update the activation environment -@CMAKE_INSTALL_PREFIX@/@KF5_LIBEXEC_INSTALL_DIR@/ksyncdbusenv +@CMAKE_INSTALL_PREFIX@/@LIBEXEC_INSTALL_DIR@/ksyncdbusenv if test $? -ne 0; then # Startup error echo 'startkde: Could not sync environment to dbus.' 1>&2