[evolution] eds-M!15 - Fix typos in CMake modules



commit 66008d17b610c4e41b9258aeeedb5fa3c239d189
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Mon May 27 18:15:13 2019 +0200

    eds-M!15 - Fix typos in CMake modules
    
    Related to https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/15

 cmake/modules/FindIntltool.cmake     | 4 ----
 cmake/modules/PrintableOptions.cmake | 4 ++--
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/cmake/modules/FindIntltool.cmake b/cmake/modules/FindIntltool.cmake
index 8e223e9d7f..c7bad9b441 100644
--- a/cmake/modules/FindIntltool.cmake
+++ b/cmake/modules/FindIntltool.cmake
@@ -47,10 +47,6 @@ if(NOT GETTEXT_FOUND)
        message(FATAL_ERROR "gettext not found, please install at least 0.18.3 version")
 endif(NOT GETTEXT_FOUND)
 
-if(NOT GETTEXT_FOUND)
-       message(FATAL_ERROR "gettext not found, please install at least 0.18.3 version")
-endif(NOT GETTEXT_FOUND)
-
 if(GETTEXT_VERSION_STRING VERSION_LESS "0.18.3")
        message(FATAL_ERROR "gettext version 0.18.3+ required, but version '${GETTEXT_VERSION_STRING}' found 
instead. Please update your gettext")
 endif(GETTEXT_VERSION_STRING VERSION_LESS "0.18.3")
diff --git a/cmake/modules/PrintableOptions.cmake b/cmake/modules/PrintableOptions.cmake
index 23ce356991..a79419a02a 100644
--- a/cmake/modules/PrintableOptions.cmake
+++ b/cmake/modules/PrintableOptions.cmake
@@ -1,13 +1,13 @@
 # PrintableOptions.cmake
 #
-# Provides functions to manage printable otpions,
+# Provides functions to manage printable options,
 # which can be printed at the end of the configuration
 #
 # add_printable_variable_bare(_name)
 #    adds variable named _name to the list of prinable options
 #
 # add_printable_option(_name _description _default_value)
-#    the same as option() commnd, only also notes this option for later printing
+#    the same as option() command, only also notes this option for later printing
 #
 # add_printable_variable(_name _description _default_value)
 #    sets a new cached STRING variable and adds it to the list of printable options


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]