summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-10 00:35:58 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-10 00:35:58 (GMT)
commitbebb2bcd2330ee7dd4c3f35276dcc8615b81645f (patch)
treee0623b026f80dd0256386243d98e7cd25b48ce11 /Modules
parent431c8eb44cc148ae49e043e2cebfa143bfca0387 (diff)
downloadCMake-bebb2bcd2330ee7dd4c3f35276dcc8615b81645f.zip
CMake-bebb2bcd2330ee7dd4c3f35276dcc8615b81645f.tar.gz
CMake-bebb2bcd2330ee7dd4c3f35276dcc8615b81645f.tar.bz2
Support REQUIRED in FindGettext.cmake (using FPHSA.cmake)
Alex
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindGettext.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake
index 3ef141d..0f11234 100644
--- a/Modules/FindGettext.cmake
+++ b/Modules/FindGettext.cmake
@@ -42,6 +42,9 @@ FIND_PROGRAM(GETTEXT_MSGMERGE_EXECUTABLE msgmerge)
FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt)
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gettext REQUIRED_VARS GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE)
+
INCLUDE(CMakeParseArguments)
MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFileArg)