diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-12-11 12:54:03 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-12-11 12:54:03 (GMT) |
commit | 91b7bf59a7a6912653c2ced0dc53fa28050d358e (patch) | |
tree | 07e9973d0b57dda5f3c2db133385d561df6e8cca /Source/cmGlobalXCodeGenerator.cxx | |
parent | 9e19a61ddb42208ea9ff14bc5ec1f5faaa0bdeee (diff) | |
download | CMake-91b7bf59a7a6912653c2ced0dc53fa28050d358e.zip CMake-91b7bf59a7a6912653c2ced0dc53fa28050d358e.tar.gz CMake-91b7bf59a7a6912653c2ced0dc53fa28050d358e.tar.bz2 |
cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index ec2550a..72dba42 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1697,6 +1697,7 @@ void cmGlobalXCodeGenerator::ForceLinkerLanguage(cmGeneratorTarget* gtgt) } if (cmSourceFile* sf = mf->GetOrCreateSource(fname)) { sf->SetProperty("LANGUAGE", llang); + sf->SetProperty("CXX_SCAN_FOR_MODULES", "0"); gtgt->AddSource(fname); } } |