summaryrefslogtreecommitdiffstats
path: root/Modules/FindLATEX.cmake
diff options
context:
space:
mode:
authorMatt McCormick <matt.mccormick@kitware.com>2013-09-25 15:51:29 (GMT)
committerMatt McCormick <matt.mccormick@kitware.com>2013-10-24 12:06:31 (GMT)
commit07674740704c59d587c977d37bd0b9e517a58dd4 (patch)
tree318ffcfd614600a4a3f21d56d48774cf468f87db /Modules/FindLATEX.cmake
parent8c0bbd37df52900678b3a85b146d7a7f65cba374 (diff)
downloadCMake-07674740704c59d587c977d37bd0b9e517a58dd4.zip
CMake-07674740704c59d587c977d37bd0b9e517a58dd4.tar.gz
CMake-07674740704c59d587c977d37bd0b9e517a58dd4.tar.bz2
FindLATEX: Find ps2pdf with MikTeX.
Diffstat (limited to 'Modules/FindLATEX.cmake')
-rw-r--r--Modules/FindLATEX.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake
index e78d5bf..62eedd6 100644
--- a/Modules/FindLATEX.cmake
+++ b/Modules/FindLATEX.cmake
@@ -104,8 +104,9 @@ find_program(DVIPDF_CONVERTER
if (WIN32)
find_program(PS2PDF_CONVERTER
- NAMES ps2pdf14.bat
+ NAMES ps2pdf14.bat ps2pdf
PATHS ${GHOSTSCRIPT_LIBRARY_PATH}
+ ${MIKTEX_BINARY_PATH}
)
else ()
find_program(PS2PDF_CONVERTER