Merge topic 'FindLATEX-use-FPHSA'

e0104063 FindLATEX: Use FPHSA to report status in standard way
This commit is contained in:
Brad King 2014-12-09 10:54:56 -05:00 committed by CMake Topic Stage
commit 66f587e7dc
1 changed files with 9 additions and 3 deletions

View File

@ -4,8 +4,9 @@
# #
# Find Latex # Find Latex
# #
# This module finds if Latex is installed and determines where the # This module finds an installed Latex and determines the location
# executables are. This code sets the following variables: # of the compiler. Additionally the module looks for Latex-related
# software like BibTeX. This code sets the following variables:
# #
# :: # ::
# #
@ -18,7 +19,7 @@
# LATEX2HTML_CONVERTER: path to the LaTeX2Html converter # LATEX2HTML_CONVERTER: path to the LaTeX2Html converter
#============================================================================= #=============================================================================
# Copyright 2002-2009 Kitware, Inc. # Copyright 2002-2014 Kitware, Inc.
# #
# Distributed under the OSI-approved BSD License (the "License"); # Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details. # see accompanying file Copyright.txt for details.
@ -131,3 +132,8 @@ mark_as_advanced(
PS2PDF_CONVERTER PS2PDF_CONVERTER
LATEX2HTML_CONVERTER LATEX2HTML_CONVERTER
) )
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
find_package_handle_standard_args(Latex
REQUIRED_VARS LATEX_COMPILER
)