From bebb2bcd2330ee7dd4c3f35276dcc8615b81645f Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Wed, 10 Aug 2011 02:35:58 +0200 Subject: [PATCH] Support REQUIRED in FindGettext.cmake (using FPHSA.cmake) Alex --- Modules/FindGettext.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake index 3ef141d3d..0f11234ba 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)