summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetCompileOptionsCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-08-27 13:54:54 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-03 13:52:14 (GMT)
commitab94c369c9f653d249e5a48ccc43f2dd2d95bc56 (patch)
tree14421b0b0fb0f0b2461a2e73b73d8828da3e0d2b /Source/cmTargetCompileOptionsCommand.cxx
parent80e0245e0e05c27dee316a9b53e23a4c0b12a9fe (diff)
downloadCMake-ab94c369c9f653d249e5a48ccc43f2dd2d95bc56.zip
CMake-ab94c369c9f653d249e5a48ccc43f2dd2d95bc56.tar.gz
CMake-ab94c369c9f653d249e5a48ccc43f2dd2d95bc56.tar.bz2
Refactor: Convert parallel string/backtrace vectors to BT vectors
Diffstat (limited to 'Source/cmTargetCompileOptionsCommand.cxx')
-rw-r--r--Source/cmTargetCompileOptionsCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTargetCompileOptionsCommand.cxx b/Source/cmTargetCompileOptionsCommand.cxx
index dee2c10..8ca3842 100644
--- a/Source/cmTargetCompileOptionsCommand.cxx
+++ b/Source/cmTargetCompileOptionsCommand.cxx
@@ -37,7 +37,8 @@ private:
}
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
- tgt->InsertCompileOption(this->Join(content), lfbt, prepend);
+ tgt->InsertCompileOption(BT<std::string>(this->Join(content), lfbt),
+ prepend);
return true; // Successfully handled.
}