|
|
commit 26c46cc022fb097b76d394f482afe231871c2fc2
Author: Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Thu Jul 8 14:30:13 2021 +0200
Commit: Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Thu Jul 8 14:30:13 2021 +0200
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 configh.cmake.in configh.cmake.in
index 9195c2b..9bb7231 100644
--- configh.cmake.in
+++ 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 configh.in configh.in
index f43d241..46121b2 100644
--- configh.in
+++ 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.
*/
/*
[ Direct Link to Message ] | |
|
| |