From 1f80ecf5a52d6f05fffbe6ceb783e4edbf006cec Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Mon, 30 Sep 2002 12:24:41 -0400 Subject: Configuratiion for finding LaTeX related executables. --- Modules/FindLATEX.cmake | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Modules/FindLATEX.cmake (limited to 'Modules/FindLATEX.cmake') diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake new file mode 100644 index 0000000000..2bc8ce32bf --- /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 +) + -- cgit v1.2.1