summaryrefslogtreecommitdiffstats
path: root/Modules/FindLATEX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-07 13:40:42 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-07 13:41:52 (GMT)
commit63262434bf0d71340230d6a7a4d93f583b549a10 (patch)
treea6d662fef86d7e28125f25d9185e8c0d0eb7c98d /Modules/FindLATEX.cmake
parent3f9191932262f2279a7d25bf0dbb2fc224bd27cb (diff)
downloadCMake-63262434bf0d71340230d6a7a4d93f583b549a10.zip
CMake-63262434bf0d71340230d6a7a4d93f583b549a10.tar.gz
CMake-63262434bf0d71340230d6a7a4d93f583b549a10.tar.bz2
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.
Diffstat (limited to 'Modules/FindLATEX.cmake')
-rw-r--r--Modules/FindLATEX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake
index 62eedd6..e353d38 100644
--- a/Modules/FindLATEX.cmake
+++ b/Modules/FindLATEX.cmake
@@ -104,7 +104,7 @@ find_program(DVIPDF_CONVERTER
if (WIN32)
find_program(PS2PDF_CONVERTER
- NAMES ps2pdf14.bat ps2pdf
+ NAMES ps2pdf14.bat ps2pdf14 ps2pdf
PATHS ${GHOSTSCRIPT_LIBRARY_PATH}
${MIKTEX_BINARY_PATH}
)