cmake/modules: fix typos

FindIntlTools.cmake performed twice the same check in a row.
parent 13cf432c
......@@ -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")
......
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment