mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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:
+3
-3
@@ -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