diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-08-27 13:54:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-03 13:52:14 (GMT) |
commit | ab94c369c9f653d249e5a48ccc43f2dd2d95bc56 (patch) | |
tree | 14421b0b0fb0f0b2461a2e73b73d8828da3e0d2b /Source/cmTargetCompileOptionsCommand.cxx | |
parent | 80e0245e0e05c27dee316a9b53e23a4c0b12a9fe (diff) | |
download | CMake-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.cxx | 3 |
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. } |