Browse Source

cmExportInstallFileGenerator: Allow overriding of CheckInterfaceDirs

Taylor Sasser 4 months ago
parent
commit
bcb6f689a4
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Source/cmExportInstallFileGenerator.h

+ 4 - 3
Source/cmExportInstallFileGenerator.h

@@ -135,6 +135,10 @@ protected:
                                 ImportPropertyMap& properties,
                                 std::set<std::string>& importedLocations);
 
+  virtual bool CheckInterfaceDirs(std::string const& prepro,
+                                  cmGeneratorTarget const* target,
+                                  std::string const& prop) const;
+
   cmInstallExportGenerator* IEGen;
 
   // The import file generated for each configuration.
@@ -145,9 +149,6 @@ protected:
   std::map<std::string, std::vector<std::string>> ConfigCxxModuleTargetFiles;
 
 private:
-  bool CheckInterfaceDirs(std::string const& prepro,
-                          cmGeneratorTarget const* target,
-                          std::string const& prop) const;
   void PopulateCompatibleInterfaceProperties(cmGeneratorTarget const* target,
                                              ImportPropertyMap& properties);
   void PopulateCustomTransitiveInterfaceProperties(