summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-05-26 13:34:52 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-05-31 14:57:11 (GMT)
commit6ff5cdc533a7c9281c97c9d22dd9cd3e05494f3a (patch)
tree109af6d3021aae795af9a6520f65be545c5b2a6d /Source/cmExportInstallFileGenerator.cxx
parent26240066084b9cbe37956cee4b3be1e75e144ce5 (diff)
downloadCMake-6ff5cdc533a7c9281c97c9d22dd9cd3e05494f3a.zip
CMake-6ff5cdc533a7c9281c97c9d22dd9cd3e05494f3a.tar.gz
CMake-6ff5cdc533a7c9281c97c9d22dd9cd3e05494f3a.tar.bz2
cxxmodules: remove support for `CXX_MODULE_HEADER_UNITS` filesets
There's no backing implementation for header units anyways, so just remove it for now.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r--Source/cmExportInstallFileGenerator.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
index df119ae..538c883 100644
--- a/Source/cmExportInstallFileGenerator.cxx
+++ b/Source/cmExportInstallFileGenerator.cxx
@@ -598,8 +598,7 @@ std::string cmExportInstallFileGenerator::GetFileSetDirectories(
auto const& type = fileSet->GetType();
// C++ modules do not support interface file sets which are dependent upon
// the configuration.
- if (cge->GetHadContextSensitiveCondition() &&
- (type == "CXX_MODULES"_s || type == "CXX_MODULE_HEADER_UNITS"_s)) {
+ if (cge->GetHadContextSensitiveCondition() && type == "CXX_MODULES"_s) {
auto* mf = this->IEGen->GetLocalGenerator()->GetMakefile();
std::ostringstream e;
e << "The \"" << gte->GetName() << "\" target's interface file set \""
@@ -661,8 +660,7 @@ std::string cmExportInstallFileGenerator::GetFileSetFiles(
auto const& type = fileSet->GetType();
// C++ modules do not support interface file sets which are dependent upon
// the configuration.
- if (contextSensitive &&
- (type == "CXX_MODULES"_s || type == "CXX_MODULE_HEADER_UNITS"_s)) {
+ if (contextSensitive && type == "CXX_MODULES"_s) {
auto* mf = this->IEGen->GetLocalGenerator()->GetMakefile();
std::ostringstream e;
e << "The \"" << gte->GetName() << "\" target's interface file set \""