cmake (3.12.1) issue with eclipse CDT4 generator
I was using cmake 3.12.1 in the following way:
cmake -G"Eclipse CDT4 - Unix Makefiles" -D_ECLIPSE_VERSION=4.6 ...
Then i got the following error:
cmake: /build/cmake-BWF4jR/cmake-3.12.1/Source/cmGeneratorTarget.cxx:746: bool cmGeneratorTarget::IsSystemIncludeDirectory(const string&, const string&, const string&) const: Assertion `this->GetType() != cmStateEnums::INTERFACE_LIBRARY' failed. Aborted
Then i download cmake version 3.11.2 and use that version of cmake, no problem!
Seems cmake 3.12.1 is broken with eclipse CDT4 generator?