[cmake-developers] Patch for write_compiler_detection_header
Kevin Godby
godbyk at gmail.com
Thu May 7 01:09:18 EDT 2015
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"
in quotation marks fixed the problem.
A patched module is available via
<https://github.com/godbyk/CMake/commits/fix-write-compiler-detection-header>.
Please let me know if there's a better solution.
Thanks!
—Kevin Godby
More information about the cmake-developers
mailing list