[cmake-developers] Patch for write_compiler_detection_header

Brad King brad.king at kitware.com
Thu May 7 09:09:48 EDT 2015


On 05/07/2015 01:09 AM, Kevin Godby wrote:
> Apparently on line 250 of WriteCompilerDetectionHeader.cmake, CMake
> was parsing FILE as a variable instead of a string.  Wrapping "FILE"
> in quotation marks fixed the problem.

Thanks.  That fix depends on CMP0054 being set to NEW.  This
should fix it more generally:

 WCDH: Fix condition when variables named "FILE" or "PREFIX" are defined
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=65e6b115

-Brad



More information about the cmake-developers mailing list