externals: Don't build cubeb with tests
This commit is contained in:
parent
35c43aa293
commit
ce6d9e2e28
2 changed files with 3 additions and 1 deletions
1
externals/CMakeLists.txt
vendored
1
externals/CMakeLists.txt
vendored
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue