Properly enable OpenAL by default

This commit is contained in:
David Hrdlička
2022-07-13 00:21:54 +02:00
parent 34006b4cd5
commit f70649af7c
2 changed files with 5 additions and 9 deletions

View File

@@ -18,12 +18,8 @@ cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0091 NEW)
cmake_policy(SET CMP0079 NEW)
# if(HAIKU)
# set(OPENAL ON)
# set(RTMIDI OFF)
# endif()
set(OPENAL ON)
if(HAIKU)
set(OPENAL ON)
set(RTMIDI OFF)
endif()
@@ -131,7 +127,7 @@ set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)
# ------ ----------- ----
option(RELEASE "Release build" OFF)
option(DYNAREC "Dynamic recompiler" ON)
option(OPENAL "OpenAL" OFF)
option(OPENAL "OpenAL" ON)
option(RTMIDI "RtMidi" ON)
option(FLUIDSYNTH "FluidSynth" ON)
option(MUNT "MUNT" ON)