mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user