mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 09:59:20 -05:00
cmGeneratorTarget: Copy IsExecutableWithExports from cmTarget.
This commit is contained in:
@@ -220,7 +220,7 @@ cmExportBuildFileGenerator
|
||||
// Add the import library for windows DLLs.
|
||||
if(dll_platform &&
|
||||
(target->GetType() == cmState::SHARED_LIBRARY ||
|
||||
target->Target->IsExecutableWithExports()) &&
|
||||
target->IsExecutableWithExports()) &&
|
||||
mf->GetDefinition("CMAKE_IMPORT_LIBRARY_SUFFIX"))
|
||||
{
|
||||
std::string prop = "IMPORTED_IMPLIB";
|
||||
|
||||
Reference in New Issue
Block a user