[CMake] Failed to build C++ source with CMakeLists.txt
Chuck Atkins
chuck.atkins at kitware.com
Tue Aug 15 11:42:57 EDT 2017
Hi Jupiter,
Compiling the C compiler identification source file "CMakeCCompilerId.c"
> failed.
> Compiler: /usr/local/gcc/4.9.1/bin/gcc
> Build flags: /usr/local/cppcms/1.1.0/include
>
It looks like you have an errant "/usr/local/cppcms/1.1.0/include" set in
your CFLAGS environment variable, or otherwise specified as a default
argument to the compiler, which is obviously not a valid flag.
- Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170815/1d3201f3/attachment.html>
More information about the CMake
mailing list