[Cmake-commits] CMake branch, next, updated. v3.1.0-rc2-1146-ge6ad59c
Brad King
brad.king at kitware.com
Mon Dec 8 08:54:24 EST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via e6ad59c82112b8e2c9d1e9cf21b2ed62efdcbc39 (commit)
via e01040636d3c8028019f00c2f226dd2f6d552732 (commit)
from 236f564453e360fdc379d067d5a9734aef84c39b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e6ad59c82112b8e2c9d1e9cf21b2ed62efdcbc39
commit e6ad59c82112b8e2c9d1e9cf21b2ed62efdcbc39
Merge: 236f564 e010406
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Dec 8 08:54:23 2014 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Dec 8 08:54:23 2014 -0500
Merge topic 'FindLATEX-use-FPHSA' into next
e0104063 FindLATEX: Use FPHSA to report status in standard way
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e01040636d3c8028019f00c2f226dd2f6d552732
commit e01040636d3c8028019f00c2f226dd2f6d552732
Author: Christoph Grüninger <foss at grueninger.de>
AuthorDate: Fri Dec 5 23:42:48 2014 +0100
Commit: Christoph Grüninger <foss at grueninger.de>
CommitDate: Fri Dec 5 23:42:48 2014 +0100
FindLATEX: Use FPHSA to report status in standard way
Otherwise LaTeX was marked as not found in the summary.
Also revise the documentation.
diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake
index e353d38..a935f00 100644
--- a/Modules/FindLATEX.cmake
+++ b/Modules/FindLATEX.cmake
@@ -4,8 +4,9 @@
#
# Find Latex
#
-# This module finds if Latex is installed and determines where the
-# executables are. This code sets the following variables:
+# This module finds an installed Latex and determines the location
+# 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
#=============================================================================
-# Copyright 2002-2009 Kitware, Inc.
+# Copyright 2002-2014 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
@@ -131,3 +132,8 @@ mark_as_advanced(
PS2PDF_CONVERTER
LATEX2HTML_CONVERTER
)
+
+include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
+find_package_handle_standard_args(Latex
+ REQUIRED_VARS LATEX_COMPILER
+)
-----------------------------------------------------------------------
Summary of changes:
Modules/FindLATEX.cmake | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list