summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-19 22:27:47 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-19 22:27:47 (GMT)
commit8dd00d5b1efe13b571a1d8fefc7dca317cdb826c (patch)
tree9eb09e139a8cd2f45154d91d60a5b249ac055dbb /Source/cmTarget.cxx
parentb6e4bc0521290b18d0914d21e19f31f66b328140 (diff)
downloadCMake-8dd00d5b1efe13b571a1d8fefc7dca317cdb826c.zip
CMake-8dd00d5b1efe13b571a1d8fefc7dca317cdb826c.tar.gz
CMake-8dd00d5b1efe13b571a1d8fefc7dca317cdb826c.tar.bz2
BUG: Fixed relink with new install framework.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 985dd98..4238a53 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -30,6 +30,7 @@ cmTarget::cmTarget()
m_Makefile = 0;
m_LinkLibrariesAnalyzed = false;
m_LinkDirectoriesComputed = false;
+ m_HaveInstallRule = false;
}
void cmTarget::SetType(TargetType type, const char* name)
@@ -1390,7 +1391,7 @@ bool cmTarget::NeedRelinkBeforeInstall()
// If there is no install location this target will not be installed
// and therefore does not need relinking.
- if(this->GetInstallPath().empty())
+ if(!this->GetHaveInstallRule())
{
return false;
}