mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Cmake tests: Test pdf exports honoring the default output format
The variable 'out_formats' was not set correctly in this case.
This commit is contained in:
parent
82b392eb0d
commit
db7b1acd54
@ -46,9 +46,9 @@ macro(getoutputformats filepath varname)
|
||||
set(_format ${CMAKE_MATCH_1})
|
||||
if(_format STREQUAL "default")
|
||||
set(out_formats "xhtml" ${DVI_FORMATS} ${PDF_FORMATS})
|
||||
elseif(_format MATCHES "pdf")
|
||||
set(found "xhtml" ${PDF_FORMATS})
|
||||
elseif(_format MATCHES "dvi")
|
||||
elseif(_format MATCHES "pdf$")
|
||||
set(out_formats "xhtml" ${PDF_FORMATS})
|
||||
elseif(_format MATCHES "dvi$")
|
||||
set(out_formats "xhtml" ${DVI_FORMATS})
|
||||
else()
|
||||
# Respect all other output formats
|
||||
|
Loading…
Reference in New Issue
Block a user