浏览代码

Update CMakeLists.txt

USE_AUDIO is redundant in the presence of the already existent and more descriptive SUPPORT_MODULE_RAUDIO.
pull/4044/head
Lázaro Albuquerque 10 个月前
committed by GitHub
父节点
当前提交
1785fc06b5
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 1 次插入8 次删除
  1. +1
    -8
      src/CMakeLists.txt

+ 1
- 8
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
@ -42,14 +43,6 @@ if (NOT ${PLATFORM} MATCHES "Web")
include(GlfwImport)
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})
# Sets additional platform options and link libraries for each platform

正在加载...
取消
保存