]> source.dussan.org Git - tigervnc.git/commitdiff
Use relative file paths in .pot file
authorPierre Ossman <ossman@cendio.se>
Wed, 22 Apr 2015 10:57:30 +0000 (12:57 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 22 Apr 2015 10:57:30 +0000 (12:57 +0200)
Otherwise it keeps changing depending on where your working copy
is located, causing unnecessary diffs.

po/CMakeLists.txt

index 6242b7d8b599230adfa9b4d0538b093c05cd8d4f..1fd62c209938b207a3b2b341309d0ee74318e7e4 100644 (file)
@@ -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
   )