DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/po/${LANGUAGE}.po )
# Non-ascii languages needs some special treatments
+ set(DBLATEX_OPTIONS "")
+ set_dblatex_common_options()
if( "${LANGUAGE}" MATCHES "ja" )
- set(DBLATEX_OPTIONS "")
- set_dblatex_common_options()
add_dblatex_option( -b xetex -p ${CMAKE_CURRENT_SOURCE_DIR}/../../xsl/dblatex-pdf-ja.xsl )
elseif( "${LANGUAGE}" MATCHES "ru" )
- set(DBLATEX_OPTIONS "")
- set_dblatex_common_options()
add_dblatex_option( -b xetex -p ${CMAKE_CURRENT_SOURCE_DIR}/../../xsl/dblatex-pdf-ru.xsl )
elseif( "${LANGUAGE}" MATCHES "zh" )
- set(DBLATEX_OPTIONS "")
- set_dblatex_common_options()
add_dblatex_option( -b xetex -p ${CMAKE_CURRENT_SOURCE_DIR}/../../xsl/dblatex-pdf-zh.xsl )
endif()