summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGeneratorFactory.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-06 23:38:19 (GMT)
committerBrad King <brad.king@kitware.com>2023-11-07 14:13:25 (GMT)
commita0fabc47691a0bc76038c8fdf5f0e0a23ed954d0 (patch)
tree186c386c917cdb449a0df91747fa0b63cd3744e2 /Source/cmGlobalGeneratorFactory.h
parent85627a93c92afb628e2eb22f380966b9a0f45a8f (diff)
downloadCMake-a0fabc47691a0bc76038c8fdf5f0e0a23ed954d0.zip
CMake-a0fabc47691a0bc76038c8fdf5f0e0a23ed954d0.tar.gz
CMake-a0fabc47691a0bc76038c8fdf5f0e0a23ed954d0.tar.bz2
cmGlobalGeneratorFactory: Provide complete cmGlobalGenerator to deleter
The libc++ `unique_ptr` implementation requires this since C++23. Fixes: #25388
Diffstat (limited to 'Source/cmGlobalGeneratorFactory.h')
-rw-r--r--Source/cmGlobalGeneratorFactory.h2
1 files changed, 1 insertions, 1 deletions
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 <cm/memory>
-class cmGlobalGenerator;
class cmake;
/** \class cmGlobalGeneratorFactory