diff options
author | Brad King <brad.king@kitware.com> | 2013-10-26 14:28:09 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-26 14:28:09 (GMT) |
commit | bb21e17fb7c1290e36d505201c88b5a4a03361df (patch) | |
tree | 411784a12e5eaf392e243227a5835ce4d103fb63 /Source/cmTarget.cxx | |
parent | 1b21ac405f7c0fecff26abac05423adeb281c6c1 (diff) | |
parent | 7d47c693650672afabc46bd200246eb9130582d6 (diff) | |
download | CMake-bb21e17fb7c1290e36d505201c88b5a4a03361df.zip CMake-bb21e17fb7c1290e36d505201c88b5a4a03361df.tar.gz CMake-bb21e17fb7c1290e36d505201c88b5a4a03361df.tar.bz2 |
Merge topic 'remove-pre-2.4-compatibility'
7d47c69 Drop compatibility with CMake < 2.4
c7c44fc CTestTest*: Update minimum required CMake to 2.4
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 2d7f720..70c5f84 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -5381,11 +5381,9 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface, // There is no implicit link interface for executables or modules // so if none was explicitly set then there is no link interface. - // Note that CMake versions 2.2 and below allowed linking to modules. - bool canLinkModules = this->Makefile->NeedBackwardsCompatibility(2,2); if(!explicitLibraries && (this->GetType() == cmTarget::EXECUTABLE || - (this->GetType() == cmTarget::MODULE_LIBRARY && !canLinkModules))) + (this->GetType() == cmTarget::MODULE_LIBRARY))) { return false; } |