]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Fix file installation source path.
authorFelix Tiede <info@pc-tiede.de>
Sat, 19 Nov 2016 09:48:06 +0000 (10:48 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Tue, 29 Nov 2016 17:36:26 +0000 (18:36 +0100)
By default the file is copied from the source and not the build
directory which will fail with the configure-time built file.

shell_integration/dolphin/CMakeLists.txt

index 6bf9c0e6b3aed9e1ae28a80b2d577ee9ffcd7820..f983fc153aba8575357382560288f19add1485e4 100644 (file)
@@ -50,5 +50,5 @@ set(OWNCLOUDDOLPHINACTIONPLUGIN ${APPLICATION_EXECUTABLE}dolphinactionplugin)
 add_library(${OWNCLOUDDOLPHINACTIONPLUGIN} MODULE ownclouddolphinactionplugin.cpp)
 target_link_libraries(${OWNCLOUDDOLPHINACTIONPLUGIN} KF5::CoreAddons KF5::KIOCore KF5::KIOWidgets ${OWNCLOUDDOLPHINHELPER})
 configure_file(ownclouddolphinactionplugin.desktop.in ownclouddolphinactionplugin.desktop ESCAPE_QUOTES @ONLY)
-install(FILES ownclouddolphinactionplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} RENAME ${OWNCLOUDDOLPHINACTIONPLUGIN}.desktop)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ownclouddolphinactionplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} RENAME ${OWNCLOUDDOLPHINACTIONPLUGIN}.desktop)
 install(TARGETS ${OWNCLOUDDOLPHINACTIONPLUGIN} DESTINATION ${KDE_INSTALL_PLUGINDIR})