mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
bootstrap: Fix compilation with gcc 16 devirtualization
Avoid including a header for a subclass whose implementation is not compiled during bootstrap. Fixes: #27256
This commit is contained in:
@@ -125,12 +125,12 @@
|
||||
# include "cmExtraEclipseCDT4Generator.h"
|
||||
# include "cmExtraKateGenerator.h"
|
||||
# include "cmExtraSublimeTextGenerator.h"
|
||||
#endif
|
||||
|
||||
// NOTE: the __linux__ macro is predefined on Android host too, but
|
||||
// main CMakeLists.txt filters out this generator by host name.
|
||||
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(_WIN32)
|
||||
# include "cmGlobalGhsMultiGenerator.h"
|
||||
# if (defined(__linux__) && !defined(__ANDROID__)) || defined(_WIN32)
|
||||
# include "cmGlobalGhsMultiGenerator.h"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
||||
Reference in New Issue
Block a user