1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Move po files in a po directory

This commit is contained in:
Mathieu Schroeter 2017-02-15 22:02:59 +01:00
parent 8bee1511bb
commit c7bdea83ca
3 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ file (GLOB_RECURSE data resources/data/*)
file (GLOB_RECURSE image resources/image/*)
file (GLOB_RECURSE movie resources/movie/*)
file (GLOB_RECURSE sound resources/sound/*)
file (GLOB_RECURSE po resources/translations/*.po)
file (GLOB_RECURSE po resources/po/*.po)
include_directories (${CMAKE_CURRENT_SOURCE_DIR})
@ -84,7 +84,7 @@ target_link_libraries (planetblupi PUBLIC
find_package (Gettext)
set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/translations/${PROJECT_NAME}.pot)
set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/po/${PROJECT_NAME}.pot)
add_custom_command (OUTPUT ${_potFile}
COMMAND xgettext --keyword=translate --keyword=ptranslate:1c,2 -o ${_potFile} ${sources}