From a0fabc47691a0bc76038c8fdf5f0e0a23ed954d0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 6 Nov 2023 18:38:19 -0500 Subject: cmGlobalGeneratorFactory: Provide complete cmGlobalGenerator to deleter The libc++ `unique_ptr` implementation requires this since C++23. Fixes: #25388 --- Source/cmGlobalGeneratorFactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGlobalGeneratorFactory.h b/Source/cmGlobalGeneratorFactory.h index a935079..b06da42 100644 --- a/Source/cmGlobalGeneratorFactory.h +++ b/Source/cmGlobalGeneratorFactory.h @@ -5,6 +5,7 @@ #include "cmConfigure.h" // IWYU pragma: keep #include "cmDocumentationEntry.h" // IWYU pragma: export +#include "cmGlobalGenerator.h" // IWYU pragma: keep // TODO The following headers are parts of the `cmGlobalGeneratorFactory` // public API, so could be defined as export to IWYU @@ -13,7 +14,6 @@ #include -class cmGlobalGenerator; class cmake; /** \class cmGlobalGeneratorFactory -- cgit v0.12