From fb63c5b0a576303c27c291c1b42433dc9968c33c Mon Sep 17 00:00:00 2001 From: Graham Stewart <25826331+gramnation@users.noreply.github.com> Date: Tue, 23 Jun 2020 11:51:58 -0500 Subject: [PATCH] comment out cmake internal help markup cmake 2.8.12 cannot parse it. From the looks of it this sort of markup only needs to be parsable when building cmake v3 itself. --- CMakeModules/FindFontconfig.cmake | 56 +++++++++++++++---------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/CMakeModules/FindFontconfig.cmake b/CMakeModules/FindFontconfig.cmake index 7f87134c8..9527dfb0a 100644 --- a/CMakeModules/FindFontconfig.cmake +++ b/CMakeModules/FindFontconfig.cmake @@ -1,34 +1,34 @@ # Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #[[=======================================================================.rst: -FindFontconfig --------------- - -Find Fontconfig headers and library. - -Imported Targets -^^^^^^^^^^^^^^^^ - -``Fontconfig::Fontconfig`` - The Fontconfig library, if found. - -Result Variables -^^^^^^^^^^^^^^^^ - -This will define the following variables in your project: - -``FONTCONFIG_FOUND`` - true if (the requested version of) Fontconfig is available. -``FONTCONFIG_VERSION`` - the version of Fontconfig. -``FONTCONFIG_LIBRARIES`` - the libraries to link against to use Fontconfig. -``FONTCONFIG_INCLUDE_DIRS`` - where to find the Fontconfig headers. -``FONTCONFIG_COMPILE_OPTIONS`` - this should be passed to target_compile_options(), if the - target is not used for linking -=======================================================================]] +# FindFontconfig +# -------------- +# +# Find Fontconfig headers and library. +# +# Imported Targets +# ^^^^^^^^^^^^^^^^ +# +# ``Fontconfig::Fontconfig`` +# The Fontconfig library, if found. +# +# Result Variables +# ^^^^^^^^^^^^^^^^ +# +# This will define the following variables in your project: +# +# ``FONTCONFIG_FOUND`` +# true if (the requested version of) Fontconfig is available. +# ``FONTCONFIG_VERSION`` +# the version of Fontconfig. +# ``FONTCONFIG_LIBRARIES`` +# the libraries to link against to use Fontconfig. +# ``FONTCONFIG_INCLUDE_DIRS`` +# where to find the Fontconfig headers. +# ``FONTCONFIG_COMPILE_OPTIONS`` +# this should be passed to target_compile_options(), if the +# target is not used for linking +#=======================================================================]] # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls