Cmake export tests: Do not compile Minted files converted to lyx22 format

This commit is contained in:
Kornel Benko 2019-04-08 16:39:50 +02:00
parent 3f9cdc7c63
commit 58a2f250b6

View File

@ -167,6 +167,9 @@ if (extension MATCHES "\\.lyx$")
# files with relative path # files with relative path
message(STATUS "Not exporting due to missing \\origin statement") message(STATUS "Not exporting due to missing \\origin statement")
break() break()
elseif(format MATCHES "lyx22x" AND file MATCHES "Minted")
message(STATUS "Not exporting due to missing minted support")
break()
endif() endif()
message(STATUS "Source(${LYX_SOURCE}) and dest(${result_file_name}) are equal") message(STATUS "Source(${LYX_SOURCE}) and dest(${result_file_name}) are equal")
message(STATUS "Now try to export the lyx2lyx created file") message(STATUS "Now try to export the lyx2lyx created file")
@ -254,7 +257,7 @@ if(inverted)
else() else()
string(COMPARE NOTEQUAL ${_err} 0 _erg) string(COMPARE NOTEQUAL ${_err} 0 _erg)
endif() endif()
#execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory "${TempDir}") execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory "${TempDir}")
if(_TestResultMessage) if(_TestResultMessage)
message(STATUS "Msg Summary:") message(STATUS "Msg Summary:")
foreach(_l ${_TestResultMessage}) foreach(_l ${_TestResultMessage})