externals: Don't build cubeb with tests

This commit is contained in:
darkf 2018-05-25 02:05:38 -05:00
parent 35c43aa293
commit ce6d9e2e28
2 changed files with 3 additions and 1 deletions

View file

@ -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()

View file

@ -41,3 +41,4 @@ 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()