aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJan Beich <[email protected]>2019-09-05 18:27:27 +0000
committerMatthew Gregan <[email protected]>2019-09-09 13:49:48 +1200
commit552454f621c4791fad63b97885fab207b6335f5c (patch)
tree862bb86392fba3abb740e442da606b3591fa62c9 /CMakeLists.txt
parent9456b3687f546cc9ea70c87332faaf50194214ec (diff)
downloadcubeb-552454f621c4791fad63b97885fab207b6335f5c.tar.gz
cubeb-552454f621c4791fad63b97885fab207b6335f5c.zip
build: pulse/jack use dlopen, so don't link directly
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec59316..548eaf4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -155,7 +155,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 pthread ${CMAKE_DL_LIBS})
+ target_link_libraries(cubeb PRIVATE pthread ${CMAKE_DL_LIBS})
endif()
check_include_files(alsa/asoundlib.h USE_ALSA)
@@ -163,7 +163,7 @@ if(USE_ALSA)
target_sources(cubeb PRIVATE
src/cubeb_alsa.c)
target_compile_definitions(cubeb PRIVATE USE_ALSA)
- target_link_libraries(cubeb PRIVATE asound pthread ${CMAKE_DL_LIBS})
+ target_link_libraries(cubeb PRIVATE asound pthread)
endif()
check_include_files(jack/jack.h USE_JACK)
@@ -171,7 +171,7 @@ if(USE_JACK)
target_sources(cubeb PRIVATE
src/cubeb_jack.cpp)
target_compile_definitions(cubeb PRIVATE USE_JACK)
- target_link_libraries(cubeb PRIVATE jack pthread ${CMAKE_DL_LIBS})
+ target_link_libraries(cubeb PRIVATE pthread ${CMAKE_DL_LIBS})
endif()
check_include_files(audioclient.h USE_WASAPI)