From 842b334803a5b86fd526b0761af1ec89c0176cac Mon Sep 17 00:00:00 2001 From: Julien Valentin Date: Thu, 15 Aug 2019 20:27:05 +0200 Subject: [PATCH 1/2] remove unproperly parsed CMake comment https://github.com/openscenegraph/OpenSceneGraph/issues/812 --- CMakeModules/FindFontconfig.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeModules/FindFontconfig.cmake b/CMakeModules/FindFontconfig.cmake index 96e1e7608..905870b78 100644 --- a/CMakeModules/FindFontconfig.cmake +++ b/CMakeModules/FindFontconfig.cmake @@ -1,7 +1,6 @@ # Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. -#[=======================================================================[.rst: FindFontconfig -------------- @@ -30,9 +29,6 @@ This will define the following variables in your project: 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 find_package(PkgConfig QUIET) From 7b3d1dff258ad58f2cdc94ac57e3c2b1612e7e2d Mon Sep 17 00:00:00 2001 From: Julien Valentin Date: Thu, 15 Aug 2019 20:46:52 +0200 Subject: [PATCH 2/2] fix cmake block comment syntax --- CMakeModules/FindFontconfig.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeModules/FindFontconfig.cmake b/CMakeModules/FindFontconfig.cmake index 905870b78..7f87134c8 100644 --- a/CMakeModules/FindFontconfig.cmake +++ b/CMakeModules/FindFontconfig.cmake @@ -1,6 +1,6 @@ # Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. - +#[[=======================================================================.rst: FindFontconfig -------------- @@ -28,6 +28,7 @@ This will define the following variables in your project: ``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