summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-14 21:11:27 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-15 14:18:41 (GMT)
commit43e973eba2681788c7acf7a4fcdf261bcf6a622a (patch)
treed46cab93c35d8b3b92613fb919c5448c6881dbd6 /Source/cmGeneratorTarget.h
parent93afe804ce4949823dc4521d555811720afd7783 (diff)
downloadCMake-43e973eba2681788c7acf7a4fcdf261bcf6a622a.zip
CMake-43e973eba2681788c7acf7a4fcdf261bcf6a622a.tar.gz
CMake-43e973eba2681788c7acf7a4fcdf261bcf6a622a.tar.bz2
cmGeneratorTarget: Pass language to GetAppleArchs when possible
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 7c1ff72..256ca3b 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -484,7 +484,8 @@ public:
holding object files for the given configuration. */
std::string GetObjectDirectory(std::string const& config) const;
- std::vector<std::string> GetAppleArchs(std::string const& config) const;
+ std::vector<std::string> GetAppleArchs(std::string const& config,
+ cm::optional<std::string> lang) const;
void AddExplicitLanguageFlags(std::string& flags,
cmSourceFile const& sf) const;