CMake: adds MODULE_<module> options to disable modules

This commit is contained in:
Carter Li
2026-05-28 15:38:18 +08:00
parent 896fe60461
commit 6b9a6fd103
7 changed files with 208 additions and 1 deletions
+2
View File
@@ -29,6 +29,7 @@ static void initState(FFstate* state) {
ffPlatformInit(&state->platform);
state->dynamicInterval = 0;
#if FF_MODULE_TERMINALTHEME
{
// don't enable bright color if the terminal is in light mode
FFTerminalThemeResult result;
@@ -36,6 +37,7 @@ static void initState(FFstate* state) {
state->terminalLightTheme = true;
}
}
#endif
}
static void defaultConfig(void) {