[cmake] fix cubeb(?)

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-07-27 19:19:25 -04:00
parent d2d65e095e
commit 80d3802db6
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6

View file

@ -6,12 +6,14 @@ set(CPM_USE_LOCAL_PACKAGES ON)
CPMAddPackage( CPMAddPackage(
URI "gh:mozilla/cubeb#fa02160712" URI "gh:mozilla/cubeb#fa02160712"
FIND_PACKAGE_ARGUMENTS "CONFIG" # not sure this works outside of gentoo FIND_PACKAGE_ARGUMENTS "CONFIG" # not sure this works outside of gentoo
DOWNLOAD_ONLY YES
) )
if (cubeb_ADDED) if (cubeb_ADDED)
set(BUILD_TESTS OFF) set(BUILD_TESTS OFF)
set(BUILD_TOOLS OFF) set(BUILD_TOOLS OFF)
add_subdirectory(${cubeb_SOURCE_DIR} ${cubeb_BINARY_DIR})
if (NOT MSVC) if (NOT MSVC)
if (TARGET speex) if (TARGET speex)
target_compile_options(speex PRIVATE -Wno-sign-compare) target_compile_options(speex PRIVATE -Wno-sign-compare)