diff options
author | Brad King <brad.king@kitware.com> | 2021-05-06 14:09:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-05-06 14:10:18 (GMT) |
commit | 50225fb3060ced7332ba685ad203b7d8646db59b (patch) | |
tree | 294b4f7cb38243f4dbff5c5a13d99ae33338a04f /Source/cmLocalGenerator.cxx | |
parent | 01970128318372eb0aeb2a98fa4f7dde57ed10c9 (diff) | |
parent | 597209470809c23167c48e2dc85d6926a8faed16 (diff) | |
download | CMake-50225fb3060ced7332ba685ad203b7d8646db59b.zip CMake-50225fb3060ced7332ba685ad203b7d8646db59b.tar.gz CMake-50225fb3060ced7332ba685ad203b7d8646db59b.tar.bz2 |
Merge topic 'objc-osx-architectures'
5972094708 ObjectiveC: Respect OSX_ARCHITECTURES for OBJC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6090
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index b301c6e..21a9a44 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1877,7 +1877,7 @@ void cmLocalGenerator::AddArchitectureFlags(std::string& flags, std::vector<std::string> archs; target->GetAppleArchs(config, archs); if (!archs.empty() && - (lang == "C" || lang == "CXX" || lang == "OBJ" || lang == "OBJCXX" || + (lang == "C" || lang == "CXX" || lang == "OBJC" || lang == "OBJCXX" || lang == "ASM")) { for (std::string const& arch : archs) { if (filterArch.empty() || filterArch == arch) { |