CREATE_PROJECT: Support building with FluidLite

This commit is contained in:
SupSuper 2021-04-24 22:30:28 +01:00 committed by Filippos Karapetis
parent c38e3bdc2a
commit 3b43a99fda
3 changed files with 10 additions and 0 deletions

View file

@ -312,6 +312,11 @@ int main(int argc, char *argv[]) {
setFeatureBuildState("vorbis", setup.features, false);
}
// HACK: Fluidsynth and Fluidlite can not be enabled simultaneously
if (getFeatureBuildState("fluidsynth", setup.features)) {
setFeatureBuildState("fluidlite", setup.features, false);
}
// HACK: These features depend on OpenGL
if (!getFeatureBuildState("opengl", setup.features)) {
setFeatureBuildState("opengl_game", setup.features, false);
@ -1050,6 +1055,7 @@ const Feature s_features[] = {
{ "freetype", "USE_FREETYPE2", true, true, "FreeType support" },
{ "jpeg", "USE_JPEG", true, true, "libjpeg support" },
{"fluidsynth", "USE_FLUIDSYNTH", true, true, "FluidSynth support" },
{ "fluidlite", "USE_FLUIDLITE", true, false, "FluidLite support" },
{ "libcurl", "USE_LIBCURL", true, true, "libcurl support" },
{ "sdlnet", "USE_SDL_NET", true, true, "SDL_net support" },
{ "discord", "USE_DISCORD", true, false, "Discord support" },