summaryrefslogtreecommitdiffstats
path: root/Modules/FindGettext.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-11 19:01:33 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-09-11 19:01:33 (GMT)
commit80e7d90a1eb3a49295adcb1f6c6cd5b3e7948ddb (patch)
treef833b3f3029bcbc9373976c9f487f89c8a32aecf /Modules/FindGettext.cmake
parent19fdc456a0ff851f6f2a433f9d2354e3e5201d38 (diff)
parent656ab19b5cbe0f563f72f8219c5670df2351c153 (diff)
downloadCMake-80e7d90a1eb3a49295adcb1f6c6cd5b3e7948ddb.zip
CMake-80e7d90a1eb3a49295adcb1f6c6cd5b3e7948ddb.tar.gz
CMake-80e7d90a1eb3a49295adcb1f6c6cd5b3e7948ddb.tar.bz2
Merge topic 'gettext-no-duplicate-FPHSA'
656ab19 FindGettext: remove code duplicating FPHSA checks
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 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})