mirror of
https://github.com/fltk/fltk.git
synced 2026-05-22 15:11:47 +08:00
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.
This commit is contained in:
+4
-4
@@ -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.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
+4
-4
@@ -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.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user