diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2014-08-07 23:52:19 -0400 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2014-08-07 23:52:19 -0400 |
commit | 03df605820f5abe0de84ed4cd639d362feafa0e8 (patch) | |
tree | 1b2c6de688938a499421962fec248a90f1b1ce37 /po | |
parent | c9629acf518634441c66e730721e0e9099382340 (diff) | |
download | tigervnc-03df605820f5abe0de84ed4cd639d362feafa0e8.tar.gz tigervnc-03df605820f5abe0de84ed4cd639d362feafa0e8.zip |
Fix some cmake quoting and escape issues. The un-escaped parens generate a "Argument not separated from preceding token by whitespace" warning. The '--directory' argument might need to be quoted if PROJECT_SOURCE_DIR contains spaces.
Diffstat (limited to 'po')
-rw-r--r-- | po/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 06a376ff..f36b15df 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -19,17 +19,18 @@ if (GETTEXT_XGETTEXT_EXECUTABLE) add_custom_target(translations_update ${GETTEXT_XGETTEXT_EXECUTABLE} - --directory ${PROJECT_SOURCE_DIR} + --directory="${PROJECT_SOURCE_DIR}" --output="${CMAKE_CURRENT_SOURCE_DIR}/tigervnc.pot" --default-domain=tigervnc --keyword=_ --keyword=N_ - --copyright-holder='TigerVNC Team and many others (see README.txt)' + --copyright-holder="TigerVNC Team and many others \(see README.txt\)" --msgid-bugs-address="tigervnc-devel@lists.sourceforge.net" --sort-output --no-location ${po_source} COMMENT "Updating tigervnc.pot" + VERBATIM ) endif (GETTEXT_XGETTEXT_EXECUTABLE) |