summaryrefslogtreecommitdiffstats
path: root/Modules/FindGettext.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindGettext.cmake')
-rw-r--r--Modules/FindGettext.cmake9
1 files changed, 1 insertions, 8 deletions
diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake
index cdb02cf..f1c78ae 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})