aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMCreateQmFromPoFiles.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ECMCreateQmFromPoFiles.cmake')
-rw-r--r--modules/ECMCreateQmFromPoFiles.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/ECMCreateQmFromPoFiles.cmake b/modules/ECMCreateQmFromPoFiles.cmake
index 7457fc51..4a31a93e 100644
--- a/modules/ECMCreateQmFromPoFiles.cmake
+++ b/modules/ECMCreateQmFromPoFiles.cmake
@@ -2,6 +2,9 @@
# ECMCreateQmFromPoFiles
# ----------------------
#
+# .. warning:: This module is deprecated and will be removed by ECM 1.0. Use
+# ECMPoQmTools instead.
+#
# Generate QTranslator (.qm) catalogs from Gettext (.po) catalogs.
#
# ::
@@ -79,6 +82,8 @@
# (To distribute this file outside of extra-cmake-modules, substitute the full
# License text for the above reference.)
+message(AUTHOR_WARNING "ECMCreateQmFromPoFiles is deprecated and will be removed before the release of Extra CMake Modules 1.0. Use ECMPoQmTools instead.")
+
# Stolen from FindGettext.cmake
function(_ECM_QM_GET_UNIQUE_TARGET_NAME _name _unique_name)
set(propertyName "_ECM_QM_UNIQUE_COUNTER_${_name}")