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

Fix dependencies in order to have the locales in the AppImage

This commit is contained in:
Mathieu Schroeter 2017-07-09 00:18:07 +02:00
parent d741353a76
commit e06844437a

View File

@ -117,7 +117,7 @@ set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/po/${PROJECT_NAME}.pot)
add_custom_command (OUTPUT ${_potFile}
COMMAND xgettext --keyword=translate -o ${_potFile} ${sources}
DEPENDS planetblupi ${sources}
DEPENDS ${sources}
COMMENT "Extract translatable messages to ${_potFile}"
)
@ -140,6 +140,8 @@ foreach (file ${_gmoFiles})
add_custom_target ("po-${_lang}" ALL ${_all}
DEPENDS ${_out}/planetblupi.mo
)
add_dependencies (planetblupi "po-${_lang}")
endforeach (file)
# Installation