From 26c46cc022fb097b76d394f482afe231871c2fc2 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 8 Jul 2021 14:30:13 +0200 Subject: [PATCH] Prevent CMake from expanding comments Unfortunately CMake doesn't check for comments and expands the example syntax! Is this a CMake bug? Anyway, this is fixed now. --- configh.cmake.in | 8 ++++---- configh.in | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configh.cmake.in b/configh.cmake.in index 9195c2bc9..9bb7231b0 100644 --- a/configh.cmake.in +++ b/configh.cmake.in @@ -20,11 +20,11 @@ * * configh.in configh.cmake.in * --------------------- ---------------------------- - * #define HAVE_GL 0 #cmakedefine01 HAVE_GL - * #undef HAVE_SNPRINTF #cmakedefine HAVE_SNPRINTF 1 + * [#]define HAVE_GL 0 [#]cmakedefine01 HAVE_GL + * [#]undef HAVE_SNPRINTF [#]cmakedefine HAVE_SNPRINTF 1 * - * The former #define's the given macro either as 0 or 1, - * the latter either does not define the macro or #define's it as 1. + * The former defines the given macro either as 0 or 1, + * the latter either does not define the macro or defines it as 1. */ /* diff --git a/configh.in b/configh.in index f43d24142..46121b2ea 100644 --- a/configh.in +++ b/configh.in @@ -19,11 +19,11 @@ * * configh.in configh.cmake.in * --------------------- ---------------------------- - * #define HAVE_GL 0 #cmakedefine01 HAVE_GL - * #undef HAVE_SNPRINTF #cmakedefine HAVE_SNPRINTF 1 + * [#]define HAVE_GL 0 [#]cmakedefine01 HAVE_GL + * [#]undef HAVE_SNPRINTF [#]cmakedefine HAVE_SNPRINTF 1 * - * The former #define's the given macro either as 0 or 1, - * the latter either does not define the macro or #define's it as 1. + * The former defines the given macro either as 0 or 1, + * the latter either does not define the macro or defines it as 1. */ /*