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:
Brad King 2014-10-07 09:40:42 -04:00
parent 3f91919322
commit 63262434bf
1 changed files with 1 additions and 1 deletions

View File

@ -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}
) )