Support REQUIRED in FindGettext.cmake (using FPHSA.cmake)

Alex
This commit is contained in:
Alex Neundorf 2011-08-10 02:35:58 +02:00
parent 431c8eb44c
commit bebb2bcd23
1 changed files with 3 additions and 0 deletions

View File

@ -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)