From 656ab19b5cbe0f563f72f8219c5670df2351c153 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Sat, 8 Sep 2012 19:06:44 +0200 Subject: FindGettext: remove code duplicating FPHSA checks --- Modules/FindGettext.cmake | 9 +-------- 1 file changed, 1 insertion(+), 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}) -- cgit v0.12