summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorДилян Палаузов <git-dpa@aegee.org>2019-05-27 18:07:02 +0200
committerMilan Crha <mcrha@redhat.com>2019-05-27 18:07:02 +0200
commit1c22408e15cf433f4ec757b8d96abea498422dad (patch)
tree8a0bd2523ae0a63cdaf3e2d53911af5964aab3dc
parent13cf432c75dc26c120cf992cd3a468959fb057e6 (diff)
downloadevolution-data-server-1c22408e15cf433f4ec757b8d96abea498422dad.tar.gz
M!15 - Fix typos in CMake modules
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/15
-rw-r--r--cmake/modules/FindIntltool.cmake4
-rw-r--r--cmake/modules/PrintableOptions.cmake4
2 files changed, 2 insertions, 6 deletions
diff --git a/cmake/modules/FindIntltool.cmake b/cmake/modules/FindIntltool.cmake
index 8e223e9d7..c7bad9b44 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 23ce35699..a79419a02 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