FindLATEX: Search for ps2pdf14 even on Windows (#15198)
When cross-compiling from Linux to Windows the tool on the host does not have a .bat extension.
This commit is contained in:
parent
3f91919322
commit
63262434bf
|
@ -104,7 +104,7 @@ find_program(DVIPDF_CONVERTER
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
find_program(PS2PDF_CONVERTER
|
find_program(PS2PDF_CONVERTER
|
||||||
NAMES ps2pdf14.bat ps2pdf
|
NAMES ps2pdf14.bat ps2pdf14 ps2pdf
|
||||||
PATHS ${GHOSTSCRIPT_LIBRARY_PATH}
|
PATHS ${GHOSTSCRIPT_LIBRARY_PATH}
|
||||||
${MIKTEX_BINARY_PATH}
|
${MIKTEX_BINARY_PATH}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue