diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 003f3d830..c8f532e57 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -4839,6 +4839,10 @@ bool isLinkDependentProperty(cmTarget *tgt, const std::string &p, const char *config) { cmComputeLinkInformation *info = tgt->GetLinkInformation(config); + if(!info) + { + return false; + } const cmComputeLinkInformation::ItemVector &deps = info->GetItems();