CMake: Fix the path to gettext-tools. The deps20 folder was already included in GNUWIN32. Besides, the construction with the hints variable did not seem to work.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39491 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2011-08-19 14:05:51 +00:00
parent 9ade016a90
commit 1dfac5ccaa

View File

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