]> git.lyx.org Git - features.git/commitdiff
Cmake tests: Test export xhtml always, independent of default output format
authorKornel Benko <kornel@lyx.org>
Thu, 2 Apr 2015 07:51:53 +0000 (09:51 +0200)
committerKornel Benko <kornel@lyx.org>
Thu, 2 Apr 2015 07:51:53 +0000 (09:51 +0200)
development/autotests/ExportTests.cmake

index 4dfea2c34182eb95f400e5b1ba87397f237ee786..50b4aa42e31fe7cc74ba43598d574e9fa63edd35 100644 (file)
@@ -50,10 +50,12 @@ macro(getoutputformats filepath varname)
         set(out_formats "xhtml" ${PDF_FORMATS})
       elseif(_format MATCHES "dvi$")
         set(out_formats "xhtml" ${DVI_FORMATS})
+      elseif(_format MATCHES "xhtml")
+        set(out_formats "xhtml")
       else()
         # Respect all other output formats
-        # like "eps3", "xhtml"
-        set(out_formats ${_format})
+        # like "eps3"
+        set(out_formats "xhtml" ${_format})
       endif()
       break()
     endif()