summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-12-08 08:56:13 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-12-08 08:56:13 +0000
commit432bf69ad6217abfda330cb648ae45dfc5cb1e66 (patch)
tree825fe06e1ed7f3b0b966778461fe70550cf9366e /indra
parent98111a40ec907f994841d2b934246d8096317f60 (diff)
DEV-43897 linux viewer2 corrupted vorbis problem
we were accidentally linking the duff fmod vorbis first because our dependancies weren't well-defined.
Diffstat (limited to 'indra')
-rw-r--r--indra/cmake/LLAudio.cmake3
-rw-r--r--indra/newview/CMakeLists.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/cmake/LLAudio.cmake b/indra/cmake/LLAudio.cmake
index 89b790c6b0..7c248dfc72 100644
--- a/indra/cmake/LLAudio.cmake
+++ b/indra/cmake/LLAudio.cmake
@@ -6,4 +6,5 @@ set(LLAUDIO_INCLUDE_DIRS
${LIBS_OPEN_DIR}/llaudio
)
-set(LLAUDIO_LIBRARIES llaudio ${OPENAL_LIBRARIES})
+# be exhaustive here
+set(LLAUDIO_LIBRARIES llaudio ${VORBISFILE_LIBRARIES} ${VORBIS_LIBRARIES} ${VORBISENC_LIBRARIES} ${OGG_LIBRARIES} ${OPENAL_LIBRARIES})
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index f41505a82d..57d67bd560 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1523,7 +1523,7 @@ target_link_libraries(${VIEWER_BINARY_NAME}
${BOOST_REGEX_LIBRARY}
${DBUSGLIB_LIBRARIES}
${OPENGL_LIBRARIES}
- ${FMODWRAPPER_LIBRARY}
+ ${FMODWRAPPER_LIBRARY} # must come after LLAudio
${OPENGL_LIBRARIES}
${SDL_LIBRARY}
${SMARTHEAP_LIBRARY}