summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-17 14:24:42 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-17 14:24:42 (GMT)
commitcb99eff642e44bd2617d323261e996aadfafe4de (patch)
tree6397dd755afc0fba5db176d6a8f522e63081d0de /Source
parent0f27bcc9ecc9e713adc0d64a8354e85efa97ae9c (diff)
parent9b449e9c5d79465a807c052c6707e83a1df9efbc (diff)
downloadCMake-cb99eff642e44bd2617d323261e996aadfafe4de.zip
CMake-cb99eff642e44bd2617d323261e996aadfafe4de.tar.gz
CMake-cb99eff642e44bd2617d323261e996aadfafe4de.tar.bz2
Merge topic 'use-generator-target'
9b449e9c cmComputeLinkInformation: Lookup a target only if we have one
Diffstat (limited to 'Source')
-rw-r--r--Source/cmComputeLinkInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index 12dddd2..6ba0eed 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -761,7 +761,7 @@ void cmComputeLinkInformation::AddSharedDepItem(std::string const& item,
return;
}
- cmGeneratorTarget *gtgt = this->GlobalGenerator->GetGeneratorTarget(tgt);
+ cmGeneratorTarget *gtgt = 0;
// Get a full path to the dependent shared library.
// Add it to the runtime path computation so that the target being