summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetLinkOptionsCommand.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-09-14 16:10:58 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2018-09-14 16:10:58 (GMT)
commit6da8b67c3f9c07352fa36e717e79e15ef36495f3 (patch)
tree39a27099e098c5576d0a9de4492dc1d30131dc1b /Source/cmTargetLinkOptionsCommand.cxx
parentf0c84346ed25f6b8ce3a9f79aece87a58c8a4748 (diff)
downloadCMake-6da8b67c3f9c07352fa36e717e79e15ef36495f3.zip
CMake-6da8b67c3f9c07352fa36e717e79e15ef36495f3.tar.gz
CMake-6da8b67c3f9c07352fa36e717e79e15ef36495f3.tar.bz2
target_link_options: fix erroneous handling of BEFORE keyword.
Diffstat (limited to 'Source/cmTargetLinkOptionsCommand.cxx')
-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.
}