aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindIntltool.cmake
diff options
context:
space:
mode:
authorRodney Dawes <rodney.dawes@canonical.com>2017-02-03 12:23:56 -0500
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:38:27 +0200
commit373ffe1d1d221f0e28793d65b40e49311f2e1ed5 (patch)
tree8ee457986a686c692ccd267ac62afb2e50089031 /cmake/FindIntltool.cmake
parentd4f59920e8ab7fb33b92ccda6c5ca4ea20b06080 (diff)
downloadayatana-indicator-datetime-373ffe1d1d221f0e28793d65b40e49311f2e1ed5.tar.gz
ayatana-indicator-datetime-373ffe1d1d221f0e28793d65b40e49311f2e1ed5.tar.bz2
ayatana-indicator-datetime-373ffe1d1d221f0e28793d65b40e49311f2e1ed5.zip
Use cmake-extras intltool module, and keep pot file in vcs.
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)
-