cmGlobalVisualStudioVersionedGenerator: check for C++ module support

This commit is contained in:
Ben Boeckel 2022-11-28 11:30:15 -05:00
parent fce359c5de
commit 9ee7ee1fc2

View File

@ -46,6 +46,11 @@ public:
const char* GetAndroidApplicationTypeRevision() const override;
bool CheckCxxModuleSupport() override
{
this->CxxModuleSupportCheck();
return this->SupportsCxxModuleDyndep();
}
bool SupportsCxxModuleDyndep() const override
{
return this->Version >= cmGlobalVisualStudioGenerator::VSVersion::VS17;