summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-01 13:21:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-01 13:21:28 (GMT)
commit51406e25320cb31b270e0ce3d1e709dd91e46282 (patch)
tree5ef50a2454aa5b9ca4dd53d6d93d183a3fac77ba /Source
parent7c92d0dade9a5a9de6850d96cda32068e7b2d085 (diff)
parentae8e6543a506a5e3c16348af264c22a68c365087 (diff)
downloadCMake-51406e25320cb31b270e0ce3d1e709dd91e46282.zip
CMake-51406e25320cb31b270e0ce3d1e709dd91e46282.tar.gz
CMake-51406e25320cb31b270e0ce3d1e709dd91e46282.tar.bz2
Merge topic 'DontStripImportLibs'
ae8e654 install: do not strip dll import libraries (#14123)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmInstallTargetGenerator.cxx6
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;
}