diff options
author | Alex Neundorf <neundorf@kde.org> | 2013-06-28 19:06:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-01 12:56:03 (GMT) |
commit | ae8e6543a506a5e3c16348af264c22a68c365087 (patch) | |
tree | 850b7ea15ba03a442a28a778adbbd6a77b8081b3 /Source/cmInstallTargetGenerator.cxx | |
parent | daaf6283f5c0e8b7ea7ee93f983ad56d4498788d (diff) | |
download | CMake-ae8e6543a506a5e3c16348af264c22a68c365087.zip CMake-ae8e6543a506a5e3c16348af264c22a68c365087.tar.gz CMake-ae8e6543a506a5e3c16348af264c22a68c365087.tar.bz2 |
install: do not strip dll import libraries (#14123)
DLL import libraries exist specifically to have symbols.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index ed01210..c9624c8 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -717,9 +717,9 @@ cmInstallTargetGenerator::AddStripRule(std::ostream& os, const std::string& toDestDirPath) { - // don't strip static libraries, because it removes the only symbol table - // they have so you can't link to them anymore - if(this->Target->GetType() == cmTarget::STATIC_LIBRARY) + // don't strip static and import libraries, because it removes the only + // symbol table they have so you can't link to them anymore + if(this->Target->GetType()==cmTarget::STATIC_LIBRARY || this->ImportLibrary) { return; } |