find gettext tools

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38087 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2011-03-27 23:35:13 +00:00
parent 4abf355133
commit d4586ba28e

View File

@ -12,10 +12,11 @@
# ALL option is used, the translations will also be created when # ALL option is used, the translations will also be created when
# building the default target. # building the default target.
FIND_PROGRAM(GETTEXT_MSGMERGE_EXECUTABLE msgmerge) set(hints "HINTS ${GNUWIN32_DIR}/deps20/gettext-tools")
FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt) FIND_PROGRAM(GETTEXT_MSGMERGE_EXECUTABLE msgmerge ${hints})
FIND_PROGRAM(GETTEXT_XGETTEXT_EXECUTABLE xgettext) FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt ${hints})
FIND_PROGRAM(GETTEXT_MSGUNIQ_EXECUTABLE msguniq) FIND_PROGRAM(GETTEXT_XGETTEXT_EXECUTABLE xgettext ${hints})
FIND_PROGRAM(GETTEXT_MSGUNIQ_EXECUTABLE msguniq ${hints})
MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile) MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile)