From c7273ada8eb8ec75447147c55fd17d98a3d3519d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 15 Sep 2017 22:22:45 -0700 Subject: Handle libossaudio as an optional OSS library --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bb76f32..60979b46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -904,6 +904,9 @@ IF(OSS_FOUND) SET(HAVE_OSS 1) SET(BACKENDS "${BACKENDS} OSS,") SET(ALC_OBJS ${ALC_OBJS} Alc/backends/oss.c) + IF(OSS_LIBRARIES) + ADD_BACKEND_LIBS(${OSS_LIBRARIES}) + ENDIF() ENDIF() ENDIF() IF(ALSOFT_REQUIRE_OSS AND NOT HAVE_OSS) -- cgit v1.2.3