mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05: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 "cmExtraEclipseCDT4Generator.h"
|
||||||
# include "cmExtraKateGenerator.h"
|
# include "cmExtraKateGenerator.h"
|
||||||
# include "cmExtraSublimeTextGenerator.h"
|
# include "cmExtraSublimeTextGenerator.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
// NOTE: the __linux__ macro is predefined on Android host too, but
|
// NOTE: the __linux__ macro is predefined on Android host too, but
|
||||||
// main CMakeLists.txt filters out this generator by host name.
|
// main CMakeLists.txt filters out this generator by host name.
|
||||||
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(_WIN32)
|
# if (defined(__linux__) && !defined(__ANDROID__)) || defined(_WIN32)
|
||||||
# include "cmGlobalGhsMultiGenerator.h"
|
# include "cmGlobalGhsMultiGenerator.h"
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
|
|||||||
Reference in New Issue
Block a user