aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindIntltool.cmake
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-08-30 01:26:19 +0200
committerRobert Tari <robert@tari.in>2021-08-30 01:26:19 +0200
commit22e66866c7b17fc655479ca911269b86cb80a744 (patch)
treee0aa6e6a8f50fd8451e03efc17b89d8c8c3de781 /cmake/FindIntltool.cmake
parent1f8263dedf9b7e6f9e06492bd69f2436e36171a2 (diff)
parent38e5efecbb3154a83a70c1c762802ec7927b3caa (diff)
downloadayatana-indicator-datetime-22e66866c7b17fc655479ca911269b86cb80a744.tar.gz
ayatana-indicator-datetime-22e66866c7b17fc655479ca911269b86cb80a744.tar.bz2
ayatana-indicator-datetime-22e66866c7b17fc655479ca911269b86cb80a744.zip
Merge branch 'tari01-pr/ubports-patches'
Attributes GH PR #46: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/46
Diffstat (limited to 'cmake/FindIntltool.cmake')
-rw-r--r--cmake/FindIntltool.cmake23
1 files changed, 0 insertions, 23 deletions
diff --git a/cmake/FindIntltool.cmake b/cmake/FindIntltool.cmake
deleted file mode 100644
index 69ffab9..0000000
--- a/cmake/FindIntltool.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
-# FindIntltool.cmake
-#
-# Jim Nelson <jim@yorba.org>
-# Copyright 2012 Yorba Foundation
-
-find_program (INTLTOOL_MERGE_EXECUTABLE intltool-merge)
-
-if (INTLTOOL_MERGE_EXECUTABLE)
- set (INTLTOOL_MERGE_FOUND TRUE)
-else (INTLTOOL_MERGE_EXECUTABLE)
- set (INTLTOOL_MERGE_FOUND FALSE)
-endif (INTLTOOL_MERGE_EXECUTABLE)
-
-if (INTLTOOL_MERGE_FOUND)
- macro (INTLTOOL_MERGE_DESKTOP desktop_id po_dir)
- add_custom_target (geary.desktop ALL
- ${INTLTOOL_MERGE_EXECUTABLE} --desktop-style ${CMAKE_SOURCE_DIR}/${po_dir}
- ${CMAKE_CURRENT_SOURCE_DIR}/${desktop_id}.desktop.in ${desktop_id}.desktop
- )
- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/geary.desktop DESTINATION /usr/share/applications)
- endmacro (INTLTOOL_MERGE_DESKTOP desktop_id po_dir)
-endif (INTLTOOL_MERGE_FOUND)
-