Skip to content

Commit

Permalink
Escape double-quote in ConfigureChecks to fix CMake 2.8.12.1 warnings.
Browse files Browse the repository at this point in the history
This warning occurs starting with CMake version efcf318f where the
CMake lexer has been taught how to understand line continuation for
quoted arguments.

Fixes #32
  • Loading branch information
jcfr committed Jan 17, 2014
1 parent f8f96cd commit 2227217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/ConfigureChecks.cmake
Expand Up @@ -1289,7 +1289,7 @@ int main()
exit(1);
#if HAVE_TZNAME
/* For UTC, tzname[1] is sometimes \"\", sometimes \" \" */
if (strcmp(tzname[0], "UTC") ||
if (strcmp(tzname[0], \"UTC\") ||
(tzname[1][0] != 0 && tzname[1][0] != ' '))
exit(1);
#endif
Expand Down

0 comments on commit 2227217

Please sign in to comment.