diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2012-09-08 17:06:44 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-09-08 17:06:44 (GMT) |
commit | 656ab19b5cbe0f563f72f8219c5670df2351c153 (patch) | |
tree | 98be06790c4ee5703d72ae957f2d97eaf57b6887 /Modules/FindGettext.cmake | |
parent | d35f552614014525b1de543dfe36be5e337a11d1 (diff) | |
download | CMake-656ab19b5cbe0f563f72f8219c5670df2351c153.zip CMake-656ab19b5cbe0f563f72f8219c5670df2351c153.tar.gz CMake-656ab19b5cbe0f563f72f8219c5670df2351c153.tar.bz2 |
FindGettext: remove code duplicating FPHSA checks
Diffstat (limited to 'Modules/FindGettext.cmake')
-rw-r--r-- | Modules/FindGettext.cmake | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake index c4774d9..31bcc61 100644 --- a/Modules/FindGettext.cmake +++ b/Modules/FindGettext.cmake @@ -210,11 +210,4 @@ function(GETTEXT_PROCESS_PO_FILES _lang) endfunction() -if (GETTEXT_MSGMERGE_EXECUTABLE AND GETTEXT_MSGFMT_EXECUTABLE ) - set(GETTEXT_FOUND TRUE) -else () - set(GETTEXT_FOUND FALSE) - if (GetText_REQUIRED) - message(FATAL_ERROR "GetText not found") - endif () -endif () +set(GETTEXT_FOUND ${Gettext_FOUND}) |