mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 21:58:50 -05:00
Export: Use existing IsDLLPlatform porcelain
This commit is contained in:
@@ -879,10 +879,7 @@ cmExportFileGenerator
|
||||
if(target->GetType() == cmState::SHARED_LIBRARY ||
|
||||
target->GetType() == cmState::MODULE_LIBRARY)
|
||||
{
|
||||
// Check whether this is a DLL platform.
|
||||
bool dll_platform =
|
||||
(mf->IsOn("WIN32") || mf->IsOn("CYGWIN") || mf->IsOn("MINGW"));
|
||||
if(!dll_platform)
|
||||
if(!target->IsDLLPlatform())
|
||||
{
|
||||
std::string prop;
|
||||
std::string value;
|
||||
|
||||
Reference in New Issue
Block a user