summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindGettext.cmake9
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})