Make GETTEXT_CREATE_TRANSLATIONS-hack silent.
This commit is contained in:
parent
10396f0d81
commit
554caebcef
|
@ -28,7 +28,7 @@ file(GLOB po_files "*.po")
|
||||||
|
|
||||||
# Hack to prevent GETTEXT_CREATE_TRANSLATIONS from updating the .po files.
|
# Hack to prevent GETTEXT_CREATE_TRANSLATIONS from updating the .po files.
|
||||||
set(backup_GETTEXT_MSGMERGE_EXECUTABLE ${GETTEXT_MSGMERGE_EXECUTABLE})
|
set(backup_GETTEXT_MSGMERGE_EXECUTABLE ${GETTEXT_MSGMERGE_EXECUTABLE})
|
||||||
set(GETTEXT_MSGMERGE_EXECUTABLE "echo")
|
set(GETTEXT_MSGMERGE_EXECUTABLE "true")
|
||||||
# Creates install target automatically.
|
# Creates install target automatically.
|
||||||
GETTEXT_CREATE_TRANSLATIONS(${potfile} ALL ${po_files})
|
GETTEXT_CREATE_TRANSLATIONS(${potfile} ALL ${po_files})
|
||||||
set(GETTEXT_MSGMERGE_EXECUTABLE ${backup_GETTEXT_MSGMERGE_EXECUTABLE})
|
set(GETTEXT_MSGMERGE_EXECUTABLE ${backup_GETTEXT_MSGMERGE_EXECUTABLE})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user