summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.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/cmMakefileTargetGenerator.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/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index c915e26..8099d44 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -367,8 +367,7 @@ void cmMakefileTargetGenerator::WriteTargetBuildRules()
auto const it = file_set_map.find(path);
if (it != file_set_map.end()) {
auto const& file_set_type = it->second;
- if (file_set_type == "CXX_MODULES"_s ||
- file_set_type == "CXX_MODULE_HEADER_UNITS"_s) {
+ if (file_set_type == "CXX_MODULES"_s) {
if (sf->GetLanguage() != "CXX"_s) {
this->Makefile->IssueMessage(
MessageType::FATAL_ERROR,