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:
parent
d741353a76
commit
e06844437a
@ -117,7 +117,7 @@ set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/po/${PROJECT_NAME}.pot)
|
|||||||
|
|
||||||
add_custom_command (OUTPUT ${_potFile}
|
add_custom_command (OUTPUT ${_potFile}
|
||||||
COMMAND xgettext --keyword=translate -o ${_potFile} ${sources}
|
COMMAND xgettext --keyword=translate -o ${_potFile} ${sources}
|
||||||
DEPENDS planetblupi ${sources}
|
DEPENDS ${sources}
|
||||||
COMMENT "Extract translatable messages to ${_potFile}"
|
COMMENT "Extract translatable messages to ${_potFile}"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -140,6 +140,8 @@ foreach (file ${_gmoFiles})
|
|||||||
add_custom_target ("po-${_lang}" ALL ${_all}
|
add_custom_target ("po-${_lang}" ALL ${_all}
|
||||||
DEPENDS ${_out}/planetblupi.mo
|
DEPENDS ${_out}/planetblupi.mo
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_dependencies (planetblupi "po-${_lang}")
|
||||||
endforeach (file)
|
endforeach (file)
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user