diff options
author | Slávek Banko <[email protected]> | 2020-07-10 03:21:59 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-10 03:21:59 +0200 |
commit | a6a8f464ce42be38fd2c9e88db825885763b3b8a (patch) | |
tree | 311cee171b5fe2a0b337646284191fe5c79b53d4 | |
parent | 965bc5b2e522dc13d632eeb7c6af46ee8d30a9a8 (diff) | |
download | krename-a6a8f464ce42be38fd2c9e88db825885763b3b8a.tar.gz krename-a6a8f464ce42be38fd2c9e88db825885763b3b8a.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
-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 |