aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-09-15 22:22:45 -0700
committerChris Robinson <[email protected]>2017-09-15 22:22:45 -0700
commitc7273ada8eb8ec75447147c55fd17d98a3d3519d (patch)
tree4207b0513c54f79d26948e2467acadcad775e2d5 /CMakeLists.txt
parent724d6267c8e71bb28f129a820f2dcb67fa137e56 (diff)
Handle libossaudio as an optional OSS library
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)