From 8ac88304788026370d42449d9cbbd4bb396c01f6 Mon Sep 17 00:00:00 2001 From: v4hn Date: Fri, 20 Nov 2015 14:33:44 +0100 Subject: include correct libraries in case jack support is requested and found It just doesn't make sense to add pulseaudio libraries here... Also it breaks in case jack is requested, but pulseaudio is disabled :) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fe3e98c..c6442e67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -924,7 +924,7 @@ IF(JACK_FOUND) SET(HAVE_JACK 1) SET(BACKENDS "${BACKENDS} JACK${IS_LINKED},") SET(ALC_OBJS ${ALC_OBJS} Alc/backends/jack.c) - ADD_BACKEND_LIBS(${PULSEAUDIO_LIBRARIES}) + ADD_BACKEND_LIBS(${JACK_LIBRARIES}) IF(CMAKE_VERSION VERSION_LESS "2.8.8") INCLUDE_DIRECTORIES(${JACK_INCLUDE_DIRS}) ENDIF() -- cgit v1.2.3