Makefile/CMakeLists.txt fixes

This commit is contained in:
Clownacy 2020-02-29 18:11:50 +00:00
parent 15bf7e095a
commit 72672e142d
2 changed files with 2 additions and 1 deletions

View file

@ -14,7 +14,7 @@ option(JAPANESE "Enable the Japanese-language build (instead of the unofficial A
option(FIX_BUGS "Fix various bugs in the game" OFF)
option(DEBUG_SAVE "Re-enable the ability to drag-and-drop save files onto the window" OFF)
set(RENDERER "SDLTexture" CACHE STRING "Which renderer the game should use: 'OpenGL3' for an OpenGL 3.2 renderer, 'OpenGLES2' for an OpenGL ES 2.0 renderer, 'SDLTexture' for SDL2's hardware-accelerated Texture API, 'SDLSurface' for SDL2's software-rendered Surface API, or 'Software' for a handwritten software renderer")
set(AUDIO_BACKEND "SDL2" CACHE STRING "Which audio backend the game should use: 'SDL2', 'miniaudio'")
set(AUDIO_BACKEND "SDL2" CACHE STRING "Which audio backend the game should use: 'SDL2' or 'miniaudio'")
option(LTO "Enable link-time optimisation" OFF)
option(NATIVE_OPTIMIZATIONS "Enable processor-specific optimisations (executable might not work on other architectures) (GCC-compatible compilers only)" OFF)

View file

@ -7,6 +7,7 @@ ASSETS_DIRECTORY = assets
# Default options
RENDERER = SDLTexture
AUDIO_BACKEND = SDL2
ALL_CFLAGS = $(CFLAGS)
ALL_CXXFLAGS = $(CXXFLAGS)