Преглед на файлове

cmGlobalVisualStudioVersionedGenerator: check for C++ module support

Ben Boeckel преди 2 години
родител
ревизия
9ee7ee1fc2
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      Source/cmGlobalVisualStudioVersionedGenerator.h

+ 5 - 0
Source/cmGlobalVisualStudioVersionedGenerator.h

@@ -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;