FindGettext: remove code duplicating FPHSA checks
This commit is contained in:
parent
d35f552614
commit
656ab19b5c
|
@ -210,11 +210,4 @@ function(GETTEXT_PROCESS_PO_FILES _lang)
|
||||||
|
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if (GETTEXT_MSGMERGE_EXECUTABLE AND GETTEXT_MSGFMT_EXECUTABLE )
|
set(GETTEXT_FOUND ${Gettext_FOUND})
|
||||||
set(GETTEXT_FOUND TRUE)
|
|
||||||
else ()
|
|
||||||
set(GETTEXT_FOUND FALSE)
|
|
||||||
if (GetText_REQUIRED)
|
|
||||||
message(FATAL_ERROR "GetText not found")
|
|
||||||
endif ()
|
|
||||||
endif ()
|
|
||||||
|
|
Loading…
Reference in New Issue