mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Use a single variable to disable modern DMA
This commit is contained in:
parent
5f33a617ab
commit
56cc3fff53
2 changed files with 2 additions and 3 deletions
|
@ -179,6 +179,7 @@ if (NOT BUILD_NO_CLIENT)
|
|||
##
|
||||
## Client app
|
||||
##
|
||||
option(NO_MODERN_DMA "Use older sound-system" FALSE)
|
||||
|
||||
add_subdirectory("code/client")
|
||||
add_subdirectory("code/renderer")
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
project(omohclient)
|
||||
|
||||
option(NO_OPENAL "Use older sound-system" FALSE)
|
||||
|
||||
add_subdirectory("../cgame" "./cgame")
|
||||
|
||||
file(GLOB SOURCES_CLIENT "./*.c*")
|
||||
|
@ -19,7 +17,7 @@ target_link_libraries(omohclient INTERFACE gcd)
|
|||
# Sound stuff
|
||||
target_compile_definitions(omohclient INTERFACE USE_CODEC_MP3)
|
||||
|
||||
if (NOT NO_OPENAL)
|
||||
if (NOT NO_MODERN_DMA)
|
||||
# Use OpenAL
|
||||
find_package(OpenAL REQUIRED)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue