parent
6702d5f969
commit
26d6b8b5b7
|
|
@ -29,7 +29,6 @@ set(raylib_public_headers
|
||||||
|
|
||||||
# Sources to be compiled
|
# Sources to be compiled
|
||||||
set(raylib_sources
|
set(raylib_sources
|
||||||
raudio.c
|
|
||||||
rcore.c
|
rcore.c
|
||||||
rmodels.c
|
rmodels.c
|
||||||
rshapes.c
|
rshapes.c
|
||||||
|
|
@ -43,6 +42,14 @@ if (NOT ${PLATFORM} MATCHES "Web")
|
||||||
include(GlfwImport)
|
include(GlfwImport)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (USE_AUDIO)
|
||||||
|
MESSAGE(STATUS "Audio Backend: miniaudio")
|
||||||
|
list(APPEND raylib_sources raudio.c)
|
||||||
|
else ()
|
||||||
|
MESSAGE(STATUS "Audio Backend: None (-DUSE_AUDIO=OFF)")
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
add_library(raylib ${raylib_sources} ${raylib_public_headers})
|
add_library(raylib ${raylib_sources} ${raylib_public_headers})
|
||||||
|
|
||||||
# Sets additional platform options and link libraries for each platform
|
# Sets additional platform options and link libraries for each platform
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user