summaryrefslogtreecommitdiffstats
path: root/Modules/FindLATEX.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-28 13:53:27 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-28 13:53:27 (GMT)
commita3c282ebbd4d6bdeed3beb3a2da009fb2347060f (patch)
treeaf61e8a9e0fcb83c568e55a6020e97066a54114b /Modules/FindLATEX.cmake
parent824d9112b1658a8b295fcd364fad06898dbe2f62 (diff)
downloadCMake-a3c282ebbd4d6bdeed3beb3a2da009fb2347060f.zip
CMake-a3c282ebbd4d6bdeed3beb3a2da009fb2347060f.tar.gz
CMake-a3c282ebbd4d6bdeed3beb3a2da009fb2347060f.tar.bz2
Make things work on unix and add DVIPDF
Diffstat (limited to 'Modules/FindLATEX.cmake')
-rw-r--r--Modules/FindLATEX.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake
index b6bda3a..9556c6c 100644
--- a/Modules/FindLATEX.cmake
+++ b/Modules/FindLATEX.cmake
@@ -48,21 +48,31 @@ ENDIF (WIN32)
FIND_PROGRAM(LATEX_COMPILER
NAMES latex
PATHS ${MIKTEX_BINARY_PATH}
+ /usr/bin
)
FIND_PROGRAM(BIBTEX_COMPILER
NAMES bibtex
PATHS ${MIKTEX_BINARY_PATH}
+ /usr/bin
)
FIND_PROGRAM(MAKEINDEX_COMPILER
NAMES makeindex
PATHS ${MIKTEX_BINARY_PATH}
+ /usr/bin
)
FIND_PROGRAM(DVIPS_CONVERTER
NAMES dvips
PATHS ${MIKTEX_BINARY_PATH}
+ /usr/bin
+)
+
+FIND_PROGRAM(DVIPDF_CONVERTER
+ NAMES dvipdfm dvipdft dvipdf
+ PATHS ${MIKTEX_BINARY_PATH}
+ /usr/bin
)
IF (WIN32)