summaryrefslogtreecommitdiffstats
path: root/Modules/FindLATEX.cmake
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2002-09-30 16:24:41 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2002-09-30 16:24:41 (GMT)
commit1f80ecf5a52d6f05fffbe6ceb783e4edbf006cec (patch)
tree11595e4287f61e72df5073840f32ab5dc6bfddf5 /Modules/FindLATEX.cmake
parent9619ee3aa10d6e89129a66362433b969e35e6232 (diff)
downloadCMake-1f80ecf5a52d6f05fffbe6ceb783e4edbf006cec.zip
CMake-1f80ecf5a52d6f05fffbe6ceb783e4edbf006cec.tar.gz
CMake-1f80ecf5a52d6f05fffbe6ceb783e4edbf006cec.tar.bz2
Configuratiion for finding LaTeX related executables.
Diffstat (limited to 'Modules/FindLATEX.cmake')
-rw-r--r--Modules/FindLATEX.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake
new file mode 100644
index 0000000..2bc8ce3
--- /dev/null
+++ b/Modules/FindLATEX.cmake
@@ -0,0 +1,26 @@
+#
+# This module finds if Latex is installed and determines where the
+# executables are. This code sets the following variables:
+#
+# LATEX_COMPILE = the full path to the LaTeX compiler
+# BIBTEX_COMPILE = the full path to the BibTeX compiler
+# DVIPDF_COMPILE = the full path to the DVIPDF converter
+# DVIPS_COMPILE = the full path to the DVIPS converter
+#
+
+FIND_PROGRAM(LATEX_COMPILE
+ NAMES latex
+)
+
+FIND_PROGRAM(BIBTEX_COMPILE
+ NAMES bibtex
+)
+
+FIND_PROGRAM(DVIPDF_COMPILE
+ NAMES dvipdf
+)
+
+FIND_PROGRAM(DVIPS_COMPILE
+ NAMES dvips
+)
+