From 2cb5dc973506562120751d343e852b007b73df78 Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Mon, 19 Jan 2015 14:39:34 +0000
Subject: [PATCH] Link viewer with OpenAL if appropriate

---
 indra/newview/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 8649386f76e..2b669bb21df 100755
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1374,6 +1374,9 @@ if (LINUX)
     set(viewer_LIBRARIES
         Xinerama
         )
+    if (OPENAL)
+      LIST(APPEND viewer_LIBRARIES ${OPENAL_LIBRARIES})
+    endif (OPENAL)
 endif (LINUX)
 
 if (WINDOWS)
-- 
GitLab