summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-07-29 18:01:04 (GMT)
committerBrad King <brad.king@kitware.com>2008-07-29 18:01:04 (GMT)
commit01d143c77b7d50424950e59ef2912de31f836de5 (patch)
treea0dc27fde8d2c4d091222fab4b26e3933812151a /Source/cmComputeLinkInformation.cxx
parent478fbdfc238dade9d10bb7cc199de0108c900a39 (diff)
downloadCMake-01d143c77b7d50424950e59ef2912de31f836de5.zip
CMake-01d143c77b7d50424950e59ef2912de31f836de5.tar.gz
CMake-01d143c77b7d50424950e59ef2912de31f836de5.tar.bz2
ENH: Provide context in path ordering warnings
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index 0893e07..0c72e4f 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -256,10 +256,10 @@ cmComputeLinkInformation
// Allocate internals.
this->OrderLinkerSearchPath =
- new cmOrderDirectories(this->GlobalGenerator, target->GetName(),
+ new cmOrderDirectories(this->GlobalGenerator, target,
"linker search path");
this->OrderRuntimeSearchPath =
- new cmOrderDirectories(this->GlobalGenerator, target->GetName(),
+ new cmOrderDirectories(this->GlobalGenerator, target,
"runtime search path");
this->OrderDependentRPath = 0;
@@ -362,7 +362,7 @@ cmComputeLinkInformation
{
this->SharedDependencyMode = SharedDepModeDir;
this->OrderDependentRPath =
- new cmOrderDirectories(this->GlobalGenerator, target->GetName(),
+ new cmOrderDirectories(this->GlobalGenerator, target,
"dependent library path");
}