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:20 +0200
commit8c83723f9fec787f6c31560158cf543192c75136 (patch)
treea116d9e61d0ec9f1b346f42d40962df999848f38
parenta2ac0ca3f9675b902db443a79a5edd5537d7cf11 (diff)
downloadkbibtex-8c83723f9fec787f6c31560158cf543192c75136.tar.gz
kbibtex-8c83723f9fec787f6c31560158cf543192c75136.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 3788d0cdb102c498697a490a8d6417841eee10e2)
-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