diff options
author | Brad King <brad.king@kitware.com> | 2017-11-30 12:33:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-30 12:37:35 (GMT) |
commit | 3eee33012e10a77b6b337dc70b2dc6b2320c5ecc (patch) | |
tree | b626e399c156a61bc1f49f3e8d875c50a21f68e0 /Source/cmVisualStudioGeneratorOptions.h | |
parent | b31d5e1dfdea5abcf95de05baf7b0e53cc18937a (diff) | |
download | CMake-3eee33012e10a77b6b337dc70b2dc6b2320c5ecc.zip CMake-3eee33012e10a77b6b337dc70b2dc6b2320c5ecc.tar.gz CMake-3eee33012e10a77b6b337dc70b2dc6b2320c5ecc.tar.bz2 |
CheckIncludeFiles: Fix name of source file used for check
In commit 7669695a74 (CheckIncludeFiles: extend to allow a LANGUAGE
argument, 2017-11-08) the file name used for the check was accidentally
left as `${var}.c`, where `var` is not a variable we define. It was
passing tests by accidentally using just `.c` as the file name, but can
break in real projects that may leave `var` defined to something else.
The reference was taken from similar code in CheckTypeSize where the
variable names are different. Fix our reference to be `${VARIABLE}`.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
0 files changed, 0 insertions, 0 deletions