[cmake-developers] Assertion hit in CMake for KDevelop on Ubuntu

Brad King brad.king at kitware.com
Wed Jan 13 13:36:40 EST 2016


On 01/13/2016 11:16 AM, Robert Dailey wrote:
> Running version 3.2.2 on Ubuntu 15. I run the following command:
[snip]
> cmake: ../../Source/cmTarget.cxx:722: void
> cmTarget::GetSourceFiles(std::vector<std::__cxx11::basic_string<char>
>> &, const string&) const: Assertion `this->GetType() !=
> INTERFACE_LIBRARY' failed.
> ../frontend/Core/CMake/helper-scripts/kdevelop-linux.sh: line 13:
> 21545 Aborted                 (core dumped) cmake "$DIR/../../.."

Please try running with CMake 3.4 or 'master' to see if it still
happens.  There has been substantial refactoring of this code
since 3.2.

Thanks,
-Brad



More information about the cmake-developers mailing list