externals: Don't build cubeb with tests
This commit is contained in:
parent
35c43aa293
commit
ce6d9e2e28
|
@ -80,5 +80,6 @@ endif()
|
||||||
|
|
||||||
# Cubeb
|
# Cubeb
|
||||||
if(ENABLE_CUBEB)
|
if(ENABLE_CUBEB)
|
||||||
|
set(BUILD_TESTS OFF CACHE BOOL "")
|
||||||
add_subdirectory(cubeb)
|
add_subdirectory(cubeb)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -40,4 +40,5 @@ endif()
|
||||||
if(ENABLE_CUBEB)
|
if(ENABLE_CUBEB)
|
||||||
target_link_libraries(audio_core PRIVATE cubeb)
|
target_link_libraries(audio_core PRIVATE cubeb)
|
||||||
add_definitions(-DHAVE_CUBEB=1)
|
add_definitions(-DHAVE_CUBEB=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Reference in New Issue