summaryrefslogtreecommitdiffstats
path: root/src/utilities/hotplug/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-01 10:36:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-16 20:53:31 +0900
commit394069e6de4326fd15a603fd0598d2de0c3342cd (patch)
tree4d4ab27dd03e368ac479271e707550457d7205e4 /src/utilities/hotplug/CMakeLists.txt
parent67fd8bef19878c6940d48fbdafe07a8842c99fd1 (diff)
downloaddigikam-394069e6de4326fd15a603fd0598d2de0c3342cd.tar.gz
digikam-394069e6de4326fd15a603fd0598d2de0c3342cd.zip
Conversion to cmake building systemfeat/cmake-conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/utilities/hotplug/CMakeLists.txt')
-rw-r--r--src/utilities/hotplug/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/utilities/hotplug/CMakeLists.txt b/src/utilities/hotplug/CMakeLists.txt
new file mode 100644
index 00000000..6a28c3a4
--- /dev/null
+++ b/src/utilities/hotplug/CMakeLists.txt
@@ -0,0 +1,19 @@
+configure_file( digikam-download.desktop.cmake digikam-download.desktop @ONLY )
+configure_file( digikam-gphoto2-camera.desktop.cmake digikam-gphoto2-camera.desktop @ONLY )
+configure_file( digikam-mount-and-download.desktop.cmake digikam-mount-and-download.desktop @ONLY )
+
+
+##### other files
+
+install(
+ FILES digikam-camera
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/utils
+)
+
+tde_create_translated_desktop(
+ SOURCE
+ ${CMAKE_CURRENT_BINARY_DIR}/digikam-download.desktop
+ ${CMAKE_CURRENT_BINARY_DIR}/digikam-gphoto2-camera.desktop
+ ${CMAKE_CURRENT_BINARY_DIR}/digikam-mount-and-download.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+)