summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:46 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:47 (GMT)
commite27d737e27fbfc8cfde020ec02d6b2c74afb6885 (patch)
tree895ab57e59489993a842ff5b8f081988f5dfc9d1 /Source/cmInstallTargetGenerator.cxx
parent8d2de00244f8338664c16bd8d8ebb03c6f0cb83f (diff)
downloadCMake-e27d737e27fbfc8cfde020ec02d6b2c74afb6885.zip
CMake-e27d737e27fbfc8cfde020ec02d6b2c74afb6885.tar.gz
CMake-e27d737e27fbfc8cfde020ec02d6b2c74afb6885.tar.bz2
cmGeneratorTarget: Move IsChrPathUsed from cmTarget.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 7a7dcb4..24c1c49 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -656,11 +656,10 @@ cmInstallTargetGenerator
std::string const& toDestDirPath)
{
// Skip the chrpath if the target does not need it.
- if(this->ImportLibrary || !this->Target->Target->IsChrpathUsed(config))
+ if(this->ImportLibrary || !this->Target->IsChrpathUsed(config))
{
return;
}
-
// Skip if on Apple
if(this->Target->Target->GetMakefile()
->IsOn("CMAKE_PLATFORM_HAS_INSTALLNAME"))
@@ -695,7 +694,7 @@ cmInstallTargetGenerator
std::string const& toDestDirPath)
{
// Skip the chrpath if the target does not need it.
- if(this->ImportLibrary || !this->Target->Target->IsChrpathUsed(config))
+ if(this->ImportLibrary || !this->Target->IsChrpathUsed(config))
{
return;
}