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
if(ENABLE_CUBEB)
set(BUILD_TESTS OFF CACHE BOOL "")
add_subdirectory(cubeb)
endif()

View File

@ -40,4 +40,5 @@ endif()
if(ENABLE_CUBEB)
target_link_libraries(audio_core PRIVATE cubeb)
add_definitions(-DHAVE_CUBEB=1)
endif()
endif()