summaryrefslogtreecommitdiff
path: root/Source/cmTargetLinkDirectoriesCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-08-27 09:54:54 -0400
committerBrad King <brad.king@kitware.com>2021-09-03 09:52:14 -0400
commitab94c369c9f653d249e5a48ccc43f2dd2d95bc56 (patch)
tree14421b0b0fb0f0b2461a2e73b73d8828da3e0d2b /Source/cmTargetLinkDirectoriesCommand.cxx
parent80e0245e0e05c27dee316a9b53e23a4c0b12a9fe (diff)
downloadcmake-ab94c369c9f653d249e5a48ccc43f2dd2d95bc56.tar.gz
Refactor: Convert parallel string/backtrace vectors to BT vectors
Diffstat (limited to 'Source/cmTargetLinkDirectoriesCommand.cxx')
-rw-r--r--Source/cmTargetLinkDirectoriesCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTargetLinkDirectoriesCommand.cxx b/Source/cmTargetLinkDirectoriesCommand.cxx
index 0c68d604c8..3ba27a83a3 100644
--- a/Source/cmTargetLinkDirectoriesCommand.cxx
+++ b/Source/cmTargetLinkDirectoriesCommand.cxx
@@ -34,7 +34,8 @@ private:
bool prepend, bool /*system*/) override
{
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
- tgt->InsertLinkDirectory(this->Join(content), lfbt, prepend);
+ tgt->InsertLinkDirectory(BT<std::string>(this->Join(content), lfbt),
+ prepend);
return true; // Successfully handled.
}
};