# Copyright (c) 2012 Kornel Benko kornel@lyx.org
#
#
-# LYX_ROOT = ${TOP_SRC_DIR}/lib/{doc,examples,templates}
+# LYX_ROOT = ${TOP_SRC_DIR}/lib/{doc,examples,templates,tabletemplates}
# LYX_USERDIR_VER = Name of environment variable for the user directory
# lyx =
# format = lyx16x|lyx20x|lyx21x|lyx22x|xhtml
set(ENV{${LYX_USERDIR_VER}} "${LYX_TESTS_USERDIR}")
set(ENV{LANG} "en_US.UTF-8") # to get all error-messages in english
+set(ENV{LANGUAGE} "US:en")
#set(ENV{LC_ALL} "C")
if (extension MATCHES "\\.lyx$")
include(${TOP_SRC_DIR}/development/autotests/CheckLoadErrors.cmake)
# files with relative path
message(STATUS "Not exporting due to missing \\origin statement")
break()
+ elseif(format MATCHES "lyx22x" AND file MATCHES "Minted")
+ message(STATUS "Not exporting due to missing minted support")
+ break()
endif()
message(STATUS "Source(${LYX_SOURCE}) and dest(${result_file_name}) are equal")
message(STATUS "Now try to export the lyx2lyx created file")