diff options
Diffstat (limited to 'po/CMakeLists.txt')
| -rw-r--r-- | po/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 54af949..165d352 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -12,7 +12,7 @@ SET ( _gmoFiles ) FOREACH ( _current_PO_FILE ${_po_files} ) GET_FILENAME_COMPONENT( _lang ${_current_PO_FILE} NAME_WE ) SET( _gmoFile ${CMAKE_BINARY_DIR}/po/${_lang}.gmo ) - add_custom_command( OUTPUT ${_gmoFile} + ADD_CUSTOM_COMMAND ( OUTPUT ${_gmoFile} COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_current_PO_FILE} WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" DEPENDS ${_current_PO_FILE} |