Commit 1e53e28b authored by barraud's avatar barraud
Browse files

FEATURE 588 Add CAMITK_ENABLE_TRANSLATION functionnality to camitk_translate() macro.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1851 ec899d31-69d1-42ba-9299-647d76f65fb3
parent c957f038
......@@ -20,6 +20,9 @@
#! \param EXTRA_LANGUAGE optional, allows the translation of this additional language
#! \param USE_FLAGS optional, use the flag directory to associate a flag per language
macro(camitk_translate)
if (NOT CAMITK_ENABLE_TRANSLATION)
parse_arguments(CAMITK_TRANSLATION
"EXTRA_LANGUAGE" # possible lists
......@@ -126,5 +129,5 @@ macro(camitk_translate)
file(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/resources/flags.qrc "\t</qresource>\n")
file(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/resources/flags.qrc "</RCC>\n")
endif()
endif()
endmacro()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment