mirror of
https://github.com/openharmony/third_party_cmake.git
synced 2026-08-26 19:06:38 -04:00
FindGettext: remove code duplicating FPHSA checks
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user