summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-21 13:29:06 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-21 13:29:06 (GMT)
commitbadde9c2a11afd8f9127f757e964d0d94c777aad (patch)
tree2157c8e43f6730a29588807214c02a4929723dea /Source
parentdef5795bac507ca15f40f46ba3024e81fdcc150b (diff)
parentf799ffb5cb895855ac2aba54765622b81db5be38 (diff)
downloadCMake-badde9c2a11afd8f9127f757e964d0d94c777aad.zip
CMake-badde9c2a11afd8f9127f757e964d0d94c777aad.tar.gz
CMake-badde9c2a11afd8f9127f757e964d0d94c777aad.tar.bz2
Merge topic 'modules-no-soname'
f799ffb5 Do not set SONAME for MODULE library targets (#15705) 899458ab Tests: Cover NO_SONAME property for SHARED libraries
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 530acfe..1a7b843 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -784,8 +784,7 @@ bool cmGeneratorTarget::HasSOName(const std::string& config) const
{
// soname is supported only for shared libraries and modules,
// and then only when the platform supports an soname flag.
- return ((this->GetType() == cmTarget::SHARED_LIBRARY ||
- this->GetType() == cmTarget::MODULE_LIBRARY) &&
+ return ((this->GetType() == cmTarget::SHARED_LIBRARY) &&
!this->GetPropertyAsBool("NO_SONAME") &&
this->Makefile->GetSONameFlag(this->GetLinkerLanguage(config)));
}