summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index a10155c..dea08bc 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -328,6 +328,11 @@ cmComputeLinkInformation
"dependent library path");
}
+ // Add the search path entries requested by the user to the runtime
+ // path computation.
+ this->OrderRuntimeSearchPath->AddDirectories(
+ this->Target->GetLinkDirectories());
+
// Get the implicit link directories for this platform.
if(const char* implicitLinks =
(this->Makefile->GetDefinition