From 8c7aaeb29dccee173e8d61da7c85121602d318be Mon Sep 17 00:00:00 2001 From: David Sansome Date: Tue, 8 Jun 2010 22:58:40 +0000 Subject: [PATCH] Put the po_all target back in --- cmake/Translations.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 13e99fe5a..4c495bd6d 100644 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -35,6 +35,8 @@ macro(add_po outfiles po_prefix) ${ARGN} ) + add_custom_target(po_all ALL) + # Merge the .pot into .po files foreach (_lang ${ADD_PO_LANGUAGES}) set(_po ${CMAKE_CURRENT_SOURCE_DIR}/${ADD_PO_DIRECTORY}/${_lang}.po) @@ -43,6 +45,7 @@ macro(add_po outfiles po_prefix) ${_po} ${ADD_PO_POT} DEPENDS ${_po}) add_dependencies("po_${_lang}" pot) + add_dependencies(po_all "po_${_lang}") endforeach (_lang) # Convert the .po files to .qm files