Cmake build: Add targets to selectively create .gmo files

This commit is contained in:
Kornel Benko 2014-01-05 10:04:56 +01:00
parent 5efd59733a
commit 0678254241

View File

@ -174,6 +174,7 @@ foreach(_gmo_base ${INSTALLED_LANGUAGES})
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${_gmo}"
)
list(APPEND LYX_UPDATED_GMO_FILES "${LYX_DEST_PO}/${_gmo}")
ADD_CUSTOM_TARGET(update-${_gmo_base}-gmo DEPENDS "${LYX_DEST_PO}/${_gmo}")
endforeach()
set(LYX_UPDATED_PO_FILES)