diff --git a/CMakeLists.txt b/CMakeLists.txt index 82ffc99..2c4e069 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,7 +156,7 @@ if(USE_PULSE) target_sources(cubeb PRIVATE src/cubeb_pulse.c) target_compile_definitions(cubeb PRIVATE USE_PULSE) - target_link_libraries(cubeb PRIVATE pulse) + target_link_libraries(cubeb PRIVATE pulse pthread) if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") target_link_libraries(cubeb PRIVATE dl) endif()