summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-07-08 14:30:13 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-07-08 14:30:13 +0200
commit26c46cc022fb097b76d394f482afe231871c2fc2 (patch)
tree87b74efebdb5e2d94565c802af97e4ef00ed3b65
parent5cca79489b6400168eab8ea7eb3a05b2c6578752 (diff)
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.
-rw-r--r--configh.cmake.in8
-rw-r--r--configh.in8
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.
*/
/*