From: Pierre Ossman Date: Wed, 22 Apr 2015 10:57:30 +0000 (+0200) Subject: Use relative file paths in .pot file X-Git-Tag: v1.4.90~20^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=685b408779af221255249ab59442c249738d4f64;p=tigervnc.git Use relative file paths in .pot file Otherwise it keeps changing depending on where your working copy is located, causing unnecessary diffs. --- diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 6242b7d8..1fd62c20 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -12,6 +12,7 @@ find_program(GETTEXT_XGETTEXT_EXECUTABLE xgettext) if (GETTEXT_XGETTEXT_EXECUTABLE) # Get list of all source files file(GLOB_RECURSE po_source + RELATIVE ${PROJECT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/vncviewer/*.h ${PROJECT_SOURCE_DIR}/vncviewer/*.cxx )