diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-10 03:21:59 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-10 03:22:14 +0200 |
commit | ac86ec37418f4bd9f563f3d94e5d9ec4b131e100 (patch) | |
tree | b233133fe956d8f5e39878093d7c3950e7df375e | |
parent | ef2cc5ee255aa28ff414be7965484ef178de7272 (diff) | |
download | krename-ac86ec37418f4bd9f563f3d94e5d9ec4b131e100.tar.gz krename-ac86ec37418f4bd9f563f3d94e5d9ec4b131e100.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a6a8f464ce42be38fd2c9e88db825885763b3b8a)
-rw-r--r-- | krename/CMakeLists.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/krename/CMakeLists.txt b/krename/CMakeLists.txt index 9d47678..ddb49d4 100644 --- a/krename/CMakeLists.txt +++ b/krename/CMakeLists.txt @@ -71,13 +71,11 @@ tde_install_icons( ${PROJECT_NAME} ) tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) -foreach( _service krename_dir.desktop krenameservicemenu.desktop ) - tde_create_translated_desktop( - SOURCE ${_service} +tde_create_translated_desktop( + SOURCE krename_dir.desktop krenameservicemenu.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/servicemenus - ) -endforeach( ) + PO_DIR servicemenus +) install( FILES |