[cmake] fix cubeb(?)
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
d2d65e095e
commit
80d3802db6
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue