diff options
author | Brad King <brad.king@kitware.com> | 2023-03-14 21:01:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-15 14:11:37 (GMT) |
commit | 93afe804ce4949823dc4521d555811720afd7783 (patch) | |
tree | 44a3c3a094b1df4a25ddc9aec5bea238d7ba96b2 /Source/cmFileAPICodemodel.cxx | |
parent | 1ec4c6579117634ddb20962cdb63313dbf79887e (diff) | |
download | CMake-93afe804ce4949823dc4521d555811720afd7783.zip CMake-93afe804ce4949823dc4521d555811720afd7783.tar.gz CMake-93afe804ce4949823dc4521d555811720afd7783.tar.bz2 |
cmGeneratorTarget: Convert GetAppleArchs output argument to return value
Diffstat (limited to 'Source/cmFileAPICodemodel.cxx')
-rw-r--r-- | Source/cmFileAPICodemodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileAPICodemodel.cxx b/Source/cmFileAPICodemodel.cxx index d3683d4..6d77f85 100644 --- a/Source/cmFileAPICodemodel.cxx +++ b/Source/cmFileAPICodemodel.cxx @@ -1355,8 +1355,8 @@ CompileData Target::BuildCompileData(cmSourceFile* sf) } // Add precompile headers compile options. - std::vector<std::string> architectures; - this->GT->GetAppleArchs(this->Config, architectures); + std::vector<std::string> architectures = + this->GT->GetAppleArchs(this->Config); if (architectures.empty()) { architectures.emplace_back(); } |