diff options
author | Harry Mallon <hjmallon@gmail.com> | 2020-07-02 12:49:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-07-03 11:30:50 (GMT) |
commit | 258c8734a9116c807d25c1453d9ecae15dad581d (patch) | |
tree | c1c26275835551a37a9dcbc13262a8263076f20e /Source/cmGlobalXCodeGenerator.h | |
parent | b028e8c50ea337a7a0b505881cf0fa9675459de6 (diff) | |
download | CMake-258c8734a9116c807d25c1453d9ecae15dad581d.zip CMake-258c8734a9116c807d25c1453d9ecae15dad581d.tar.gz CMake-258c8734a9116c807d25c1453d9ecae15dad581d.tar.bz2 |
Xcode: Fix LANGUAGE property on .m/.mm files
When OBJC or OBJCXX is enabled as a language, prefer that for .m and .mm
source file language selection.
Fixes: #20257
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 0fc6558..11b9312 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -301,6 +301,7 @@ private: std::string ObjectDirArch; std::string GeneratorToolset; std::map<cmGeneratorTarget const*, size_t> TargetOrderIndex; + std::vector<std::string> EnabledLangs; }; #endif |