Re: [CMake] Failed to build C++ source with CMakeLists.txt

2017-08-15 Thread Chuck Atkins
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

[CMake] Failed to build C++ source with CMakeLists.txt

2017-08-05 Thread jupiter
Hi, I have built many open sources with gcc 4.9.1 on CentOS 6.8 platform, but I could not build this one and I have no idea what was wrong with this CMakeLists.txt, I have attached both CMakeLists.txt and CMakeError.log, appreciate any clues what was missing. Thank you. $ ls /usr/local/cppcms/1.