Thinko in commit a10b671317

This commit is contained in:
Kornel Benko 2015-12-28 08:37:58 +01:00
parent b06b4095ca
commit e17fdd1506

View File

@ -51,8 +51,12 @@ if(format MATCHES "dvi|pdf")
else()
message(STATUS "Not converting")
set(LYX_SOURCE "${LYX_ROOT}/${file}.lyx")
# Font-type not relevant for lyx16/lyx21 exports
set(result_file_base ${file})
if(extension MATCHES "\\.lyx$")
# Font-type not relevant for lyx16/lyx21 exports
set(result_file_base ${file})
else()
set(result_file_name ${file}.${extension})
endif()
endif()
set(ENV{${LYX_USERDIR_VER}} "${LYX_TESTS_USERDIR}")