diff options
author | Brad King <brad.king@kitware.com> | 2019-07-12 17:36:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-12 21:35:49 (GMT) |
commit | 79f5ef19fe418efe2d9bfc55fcd16dfd75f18d49 (patch) | |
tree | 59b8b9e5e496443b9751533cb38398fb63cca5dc /Source/cmGeneratorTarget.cxx | |
parent | 22d3eb5d5e4ce9c6371ab709655928552453fbda (diff) | |
download | CMake-79f5ef19fe418efe2d9bfc55fcd16dfd75f18d49.zip CMake-79f5ef19fe418efe2d9bfc55fcd16dfd75f18d49.tar.gz CMake-79f5ef19fe418efe2d9bfc55fcd16dfd75f18d49.tar.bz2 |
De-duplicate checks for whether a platform uses Windows DLLs
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 54f6e80..c807f6d 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -259,9 +259,6 @@ cmGeneratorTarget::cmGeneratorTarget(cmTarget* t, cmLocalGenerator* lg) t->GetSourceBacktraces(), this->SourceEntries, true); - this->DLLPlatform = - !this->Makefile->GetSafeDefinition("CMAKE_IMPORT_LIBRARY_SUFFIX").empty(); - this->PolicyMap = t->GetPolicyMap(); } @@ -2357,7 +2354,7 @@ void cmGeneratorTarget::ComputeModuleDefinitionInfo( bool cmGeneratorTarget::IsDLLPlatform() const { - return this->DLLPlatform; + return this->Target->IsDLLPlatform(); } void cmGeneratorTarget::GetAutoUicOptions(std::vector<std::string>& result, |