diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-12-11 12:52:31 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-12-11 12:52:31 (GMT) |
commit | 4fd596c34c16a130d1550d4516078e6ec00ec629 (patch) | |
tree | d5ef9733524254a5f100ff907610cfc8a71ae8f3 | |
parent | fabfaf0aa098f9d5b385713a454825a1ff8bb1f7 (diff) | |
download | CMake-4fd596c34c16a130d1550d4516078e6ec00ec629.zip CMake-4fd596c34c16a130d1550d4516078e6ec00ec629.tar.gz CMake-4fd596c34c16a130d1550d4516078e6ec00ec629.tar.bz2 |
cmGeneratorTarget: disable C++ module scanning for verify targets
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 45073f7..8af92e5 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -8948,6 +8948,7 @@ bool cmGeneratorTarget::AddHeaderSetVerification() verifyTarget->SetProperty("AUTOUIC", "OFF"); verifyTarget->SetProperty("DISABLE_PRECOMPILE_HEADERS", "ON"); verifyTarget->SetProperty("UNITY_BUILD", "OFF"); + verifyTarget->SetProperty("CXX_SCAN_FOR_MODULES", "OFF"); cm::optional<std::map<std::string, cmValue>> perConfigCompileDefinitions; verifyTarget->FinalizeTargetConfiguration( |