Merge topic 'DontStripImportLibs'

ae8e654 install: do not strip dll import libraries (#14123)
This commit is contained in:
Brad King 2013-07-01 09:21:28 -04:00 committed by CMake Topic Stage
commit 51406e2532
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}