diff options
| author | Lázaro Albuquerque <[email protected]> | 2024-07-16 08:16:41 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-16 14:16:41 +0200 |
| commit | 24726a4bc2f2c265cfc78b7c56f9a9c2143df4a9 (patch) | |
| tree | e1c0510c0c9e4debced5ba19001da5d571025094 /src | |
| parent | 0c03cbff90acf8afe3976688aaa8239e4b5a637f (diff) | |
| download | raylib-24726a4bc2f2c265cfc78b7c56f9a9c2143df4a9.tar.gz raylib-24726a4bc2f2c265cfc78b7c56f9a9c2143df4a9.zip | |
Removes the redundant USE_AUDIO flag (#4158)
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8f4d0e26..dd940b36 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -29,6 +29,7 @@ set(raylib_public_headers # Sources to be compiled set(raylib_sources + raudio.c rcore.c rmodels.c rshapes.c @@ -47,14 +48,12 @@ endif () # Produces a variable LIBS_PRIVATE that will be used later include(LibraryConfigurations) -if (USE_AUDIO) +if (SUPPORT_MODULE_RAUDIO) MESSAGE(STATUS "Audio Backend: miniaudio") - list(APPEND raylib_sources raudio.c) else () - MESSAGE(STATUS "Audio Backend: None (-DUSE_AUDIO=OFF)") + MESSAGE(STATUS "Audio Backend: None (-DCUSTOMIZE_BUILD=ON -DSUPPORT_MODULE_RAUDIO=OFF)") endif () - add_library(raylib ${raylib_sources} ${raylib_public_headers}) if (NOT BUILD_SHARED_LIBS) |
