diff options
Diffstat (limited to 'linden/indra/cmake')
-rw-r--r-- | linden/indra/cmake/CopyWinLibs.cmake | 5 | ||||
-rw-r--r-- | linden/indra/cmake/LLAudio.cmake | 9 | ||||
-rw-r--r-- | linden/indra/cmake/OPENAL.cmake | 28 |
3 files changed, 36 insertions, 6 deletions
diff --git a/linden/indra/cmake/CopyWinLibs.cmake b/linden/indra/cmake/CopyWinLibs.cmake index d4ddb23..92b5d71 100644 --- a/linden/indra/cmake/CopyWinLibs.cmake +++ b/linden/indra/cmake/CopyWinLibs.cmake | |||
@@ -8,12 +8,7 @@ include(CMakeCopyIfDifferent) | |||
8 | 8 | ||
9 | set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32") | 9 | set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32") |
10 | set(vivox_files | 10 | set(vivox_files |
11 | tntk.dll | ||
12 | libeay32.dll | ||
13 | SLVoice.exe | 11 | SLVoice.exe |
14 | ssleay32.dll | ||
15 | SLVoiceAgent.exe | ||
16 | srtp.dll | ||
17 | alut.dll | 12 | alut.dll |
18 | vivoxsdk.dll | 13 | vivoxsdk.dll |
19 | ortp.dll | 14 | ortp.dll |
diff --git a/linden/indra/cmake/LLAudio.cmake b/linden/indra/cmake/LLAudio.cmake index eff643d..ff479f6 100644 --- a/linden/indra/cmake/LLAudio.cmake +++ b/linden/indra/cmake/LLAudio.cmake | |||
@@ -6,4 +6,11 @@ set(LLAUDIO_INCLUDE_DIRS | |||
6 | ${LIBS_OPEN_DIR}/llaudio | 6 | ${LIBS_OPEN_DIR}/llaudio |
7 | ) | 7 | ) |
8 | 8 | ||
9 | set(LLAUDIO_LIBRARIES llaudio) | 9 | set(LLAUDIO_LIBRARIES |
10 | llaudio | ||
11 | ${VORBISENC_LIBRARIES} | ||
12 | ${VORBISFILE_LIBRARIES} | ||
13 | ${VORBIS_LIBRARIES} | ||
14 | ${OGG_LIBRARIES} | ||
15 | ${OPENAL_LIBRARIES} | ||
16 | ) | ||
diff --git a/linden/indra/cmake/OPENAL.cmake b/linden/indra/cmake/OPENAL.cmake new file mode 100644 index 0000000..eb195a0 --- /dev/null +++ b/linden/indra/cmake/OPENAL.cmake | |||
@@ -0,0 +1,28 @@ | |||
1 | # -*- cmake -*- | ||
2 | include(Linking) | ||
3 | include(Prebuilt) | ||
4 | |||
5 | if (LINUX) | ||
6 | set(OPENAL ON CACHE BOOL "Enable OpenAL") | ||
7 | else (LINUX) | ||
8 | set(OPENAL OFF CACHE BOOL "Enable OpenAL") | ||
9 | endif (LINUX) | ||
10 | |||
11 | if (OPENAL) | ||
12 | if (STANDALONE) | ||
13 | include(FindPkgConfig) | ||
14 | include(FindOpenAL) | ||
15 | pkg_check_modules(OPENAL_LIB REQUIRED openal) | ||
16 | pkg_check_modules(FREEALUT_LIB REQUIRED freealut) | ||
17 | else (STANDALONE) | ||
18 | use_prebuilt_binary(openal) | ||
19 | endif (STANDALONE) | ||
20 | set(OPENAL_LIBRARIES | ||
21 | openal | ||
22 | alut | ||
23 | ) | ||
24 | endif (OPENAL) | ||
25 | |||
26 | if (OPENAL) | ||
27 | message(STATUS "Building with OpenAL audio support") | ||
28 | endif (OPENAL) | ||