cmGeneratorTarget: Copy IsExecutableWithExports from cmTarget.

This commit is contained in:
Stephen Kelly
2015-10-19 00:34:23 +02:00
parent 9afbb733ec
commit 83703bda7d
8 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -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";