summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:18:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:18:03 +0200
commit3788d0cdb102c498697a490a8d6417841eee10e2 (patch)
tree6950d47c5a9a5158cf109d663eed23e2f1636195
parenta6d18dfa52b891e24f4389f4d7831acf1be311d9 (diff)
downloadkbibtex-3788d0cdb102c498697a490a8d6417841eee10e2.tar.gz
kbibtex-3788d0cdb102c498697a490a8d6417841eee10e2.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d4cc44d..43e81e7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -116,14 +116,9 @@ install(
tde_create_translated_desktop(
SOURCE kbibtex_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
-tde_create_translated_desktop(
- SOURCE ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
install(
FILES kbibtex_part.rc