FindLATEX.cmake 565 B

1234567891011121314151617181920212223242526
  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. #
  10. FIND_PROGRAM(LATEX_COMPILE
  11. NAMES latex
  12. )
  13. FIND_PROGRAM(BIBTEX_COMPILE
  14. NAMES bibtex
  15. )
  16. FIND_PROGRAM(DVIPDF_COMPILE
  17. NAMES dvipdf
  18. )
  19. FIND_PROGRAM(DVIPS_COMPILE
  20. NAMES dvips
  21. )