"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Modules/FindLibXml2.cmake" between
cmake-3.13.4.tar.gz and cmake-3.14.0-rc1.tar.gz

About: CMake is a cross-platform build system designed to build, test and package software. Release candidate.

FindLibXml2.cmake  (cmake-3.13.4):FindLibXml2.cmake  (cmake-3.14.0-rc1)
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details. # file Copyright.txt or https://cmake.org/licensing for details.
#.rst: #[=======================================================================[.rst:
# FindLibXml2 FindLibXml2
# ----------- -----------
#
# Find the XML processing library (libxml2). Find the XML processing library (libxml2).
#
# IMPORTED Targets IMPORTED Targets
# ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
#
# This module defines :prop_tgt:`IMPORTED` target ``LibXml2::LibXml2``, if This module defines :prop_tgt:`IMPORTED` target ``LibXml2::LibXml2``, if
# libxml2 has been found. libxml2 has been found.
#
# Result variables Result variables
# ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
#
# This module will set the following variables in your project: This module will set the following variables in your project:
#
# ``LIBXML2_FOUND`` ``LIBXML2_FOUND``
# true if libxml2 headers and libraries were found true if libxml2 headers and libraries were found
# ``LIBXML2_INCLUDE_DIR`` ``LIBXML2_INCLUDE_DIR``
# the directory containing LibXml2 headers the directory containing LibXml2 headers
# ``LIBXML2_INCLUDE_DIRS`` ``LIBXML2_INCLUDE_DIRS``
# list of the include directories needed to use LibXml2 list of the include directories needed to use LibXml2
# ``LIBXML2_LIBRARIES`` ``LIBXML2_LIBRARIES``
# LibXml2 libraries to be linked LibXml2 libraries to be linked
# ``LIBXML2_DEFINITIONS`` ``LIBXML2_DEFINITIONS``
# the compiler switches required for using LibXml2 the compiler switches required for using LibXml2
# ``LIBXML2_XMLLINT_EXECUTABLE`` ``LIBXML2_XMLLINT_EXECUTABLE``
# path to the XML checking tool xmllint coming with LibXml2 path to the XML checking tool xmllint coming with LibXml2
# ``LIBXML2_VERSION_STRING`` ``LIBXML2_VERSION_STRING``
# the version of LibXml2 found (since CMake 2.8.8) the version of LibXml2 found (since CMake 2.8.8)
#
# Cache variables Cache variables
# ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
#
# The following cache variables may also be set: The following cache variables may also be set:
#
# ``LIBXML2_INCLUDE_DIR`` ``LIBXML2_INCLUDE_DIR``
# the directory containing LibXml2 headers the directory containing LibXml2 headers
# ``LIBXML2_LIBRARY`` ``LIBXML2_LIBRARY``
# path to the LibXml2 library path to the LibXml2 library
#]=======================================================================]
# use pkg-config to get the directories and then use these values # use pkg-config to get the directories and then use these values
# in the find_path() and find_library() calls # in the find_path() and find_library() calls
find_package(PkgConfig QUIET) find_package(PkgConfig QUIET)
PKG_CHECK_MODULES(PC_LIBXML QUIET libxml-2.0) PKG_CHECK_MODULES(PC_LIBXML QUIET libxml-2.0)
set(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS_OTHER}) set(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS_OTHER})
find_path(LIBXML2_INCLUDE_DIR NAMES libxml/xpath.h find_path(LIBXML2_INCLUDE_DIR NAMES libxml/xpath.h
HINTS HINTS
${PC_LIBXML_INCLUDEDIR} ${PC_LIBXML_INCLUDEDIR}
 End of changes. 1 change blocks. 
41 lines changed or deleted 42 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)