CMake: Simplify the fix for the path to gettext-tools. The problem was that the first " was in the wrong place.

see r39491 and thanks Kornel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2011-08-22 11:01:41 +00:00
parent f3f38f492b
commit 2ba3007e4b

View File

@ -12,10 +12,11 @@
# ALL option is used, the translations will also be created when
# building the default target.
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)
set(hints HINTS "${GNUWIN32_DIR}/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})
MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile)