From bcb6f689a4c3578abf848173bb564016f3f8c6a9 Mon Sep 17 00:00:00 2001 From: Taylor Sasser Date: Thu, 6 Nov 2025 13:35:19 -0500 Subject: [PATCH] cmExportInstallFileGenerator: Allow overriding of CheckInterfaceDirs --- Source/cmExportInstallFileGenerator.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/cmExportInstallFileGenerator.h b/Source/cmExportInstallFileGenerator.h index 60115640f8..5a72903dc1 100644 --- a/Source/cmExportInstallFileGenerator.h +++ b/Source/cmExportInstallFileGenerator.h @@ -135,6 +135,10 @@ protected: ImportPropertyMap& properties, std::set& 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> 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(