summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-17 13:25:24 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-17 13:25:40 (GMT)
commit2af106a43a259533b0cec262ca368f577c3925b0 (patch)
tree44fc256d740389f46a15f3d429f177f9ed7695dd /Source
parent7bf9796f3d0170f35c674635c9a274b982ba5436 (diff)
parent6da8b67c3f9c07352fa36e717e79e15ef36495f3 (diff)
downloadCMake-2af106a43a259533b0cec262ca368f577c3925b0.zip
CMake-2af106a43a259533b0cec262ca368f577c3925b0.tar.gz
CMake-2af106a43a259533b0cec262ca368f577c3925b0.tar.bz2
Merge topic 'link-options'
6da8b67c3f target_link_options: fix erroneous handling of BEFORE keyword. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2384
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTargetLinkOptionsCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTargetLinkOptionsCommand.cxx b/Source/cmTargetLinkOptionsCommand.cxx
index f0f13fd..d6ed5ae 100644
--- a/Source/cmTargetLinkOptionsCommand.cxx
+++ b/Source/cmTargetLinkOptionsCommand.cxx
@@ -33,9 +33,9 @@ std::string cmTargetLinkOptionsCommand::Join(
}
bool cmTargetLinkOptionsCommand::HandleDirectContent(
- cmTarget* tgt, const std::vector<std::string>& content, bool, bool)
+ cmTarget* tgt, const std::vector<std::string>& content, bool prepend, bool)
{
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
- tgt->InsertLinkOption(this->Join(content), lfbt);
+ tgt->InsertLinkOption(this->Join(content), lfbt, prepend);
return true; // Successfully handled.
}