mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
9ade016a90
commit
1dfac5ccaa
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user