summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-06 23:17:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 22:00:19 (GMT)
commit12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b (patch)
tree22424e05eb3914000b2eb8f95cad7a55c13ef127 /Source/cmComputeLinkInformation.cxx
parent72efa15dc26b5f63a477ec537edfdffb54ecb691 (diff)
downloadCMake-12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b.zip
CMake-12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b.tar.gz
CMake-12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b.tar.bz2
cmLocalGenerator: Add Home directory accessors.
Reduce reasons for cmLocalGenerator to have a cmMakefile.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index d35b566..e97069f 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -1975,8 +1975,9 @@ void cmComputeLinkInformation::GetRPath(std::vector<std::string>& runtimeDirs,
else if(use_link_rpath)
{
// Do not add any path inside the source or build tree.
- const char* topSourceDir = this->Makefile->GetHomeDirectory();
- const char* topBinaryDir = this->Makefile->GetHomeOutputDirectory();
+ const char* topSourceDir = this->CMakeInstance->GetHomeDirectory();
+ const char* topBinaryDir =
+ this->CMakeInstance->GetHomeOutputDirectory();
if(!cmSystemTools::ComparePath(*ri, topSourceDir) &&
!cmSystemTools::ComparePath(*ri, topBinaryDir) &&
!cmSystemTools::IsSubDirectory(*ri, topSourceDir) &&