FindGettext: remove code duplicating FPHSA checks

This commit is contained in:
Rolf Eike Beer 2012-09-08 19:06:44 +02:00
parent d35f552614
commit 656ab19b5c
1 changed files with 1 additions and 8 deletions

View File

@ -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})