summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-18 22:34:23 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 22:36:09 (GMT)
commit83703bda7d1017e1f75ec1b92d672d5ef17194d5 (patch)
tree1dc551849f31b187c08332f71d9a596567338c6b /Source/cmComputeLinkInformation.cxx
parent9afbb733ec2a55424e6c25c6afa7fdd14219d6b1 (diff)
downloadCMake-83703bda7d1017e1f75ec1b92d672d5ef17194d5.zip
CMake-83703bda7d1017e1f75ec1b92d672d5ef17194d5.tar.gz
CMake-83703bda7d1017e1f75ec1b92d672d5ef17194d5.tar.bz2
cmGeneratorTarget: Copy IsExecutableWithExports from cmTarget.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index 2497f82..6ca15a3 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -635,7 +635,7 @@ void cmComputeLinkInformation::AddItem(std::string const& item,
{
// Compute the proper name to use to link this library.
const std::string& config = this->Config;
- bool impexe = (tgt && tgt->Target->IsExecutableWithExports());
+ bool impexe = (tgt && tgt->IsExecutableWithExports());
if(impexe && !this->UseImportLibrary && !this->LoaderFlag)
{
// Skip linking to executables on platforms with no import