Show warning if po4a is not installed

master
krzys-h 2014-06-19 21:53:55 +02:00
parent b404b3a1d2
commit 74834e71db
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ set(HELP_INSTALL_DATA_DIR ${COLOBOT_INSTALL_DATA_DIR}/help/)
# Translate translatable material
find_program(PO4A po4a)
if(NOT PO4A)
message(WARNING "PO4A not found, level files will NOT be translated!")
endif()
### STEP 3 # Inject translations in levels
set(_levels_i18n_target "levels_i18n")