Re: [cmake-developers] Patch for write_compiler_detection_header

2015-05-07 Thread Brad King
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

[cmake-developers] Patch for write_compiler_detection_header

2015-05-06 Thread Kevin Godby
Hello. When I tried to use the write_compiler_detection_header() function, I got the following error: write_compiler_detection_header: FILE parameter missing. Apparently on line 250 of WriteCompilerDetectionHeader.cmake, CMake was parsing FILE as a variable instead of a string. Wrapping FILE