FindLATEX.cmake 683 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # This module finds if Latex is installed and determines where the
  3. # executables are. This code sets the following variables:
  4. #
  5. # LATEX_COMPILE = the full path to the LaTeX compiler
  6. # BIBTEX_COMPILE = the full path to the BibTeX compiler
  7. # DVIPDF_COMPILE = the full path to the DVIPDF converter
  8. # DVIPS_COMPILE = the full path to the DVIPS converter
  9. # MAKEINDEX_COMPILE = the full path to the MakeIndex compiler
  10. #
  11. FIND_PROGRAM(LATEX_COMPILE
  12. NAMES latex
  13. )
  14. FIND_PROGRAM(BIBTEX_COMPILE
  15. NAMES bibtex
  16. )
  17. FIND_PROGRAM(DVIPDF_COMPILE
  18. NAMES dvipdf
  19. )
  20. FIND_PROGRAM(DVIPS_COMPILE
  21. NAMES dvips
  22. )
  23. FIND_PROGRAM(MAKEINDEX_COMPILE
  24. NAMES makeindex
  25. )