aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/OPENAL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/OPENAL.cmake')
-rw-r--r--linden/indra/cmake/OPENAL.cmake13
1 files changed, 10 insertions, 3 deletions
diff --git a/linden/indra/cmake/OPENAL.cmake b/linden/indra/cmake/OPENAL.cmake
index a2bae5d..f24ec22 100644
--- a/linden/indra/cmake/OPENAL.cmake
+++ b/linden/indra/cmake/OPENAL.cmake
@@ -9,8 +9,15 @@ if (OPENAL)
9 9
10 # OPENAL_LIB 10 # OPENAL_LIB
11 11
12 if (WINDOWS)
12 find_library(OPENAL_LIB 13 find_library(OPENAL_LIB
13 NAMES openal OpenAL OpenAL32 wrap_oal 14 NAMES openal openal32 OpenAL OpenAL32 wrap_oal
15 PATHS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/libraries/i686-win32/lib/release/
16 )
17
18 else (WINDOWS)
19 find_library(OPENAL_LIB
20 NAMES openal openal32 OpenAL OpenAL32 wrap_oal
14 PATHS ${ARCH_PREBUILT_DIRS_RELEASE} 21 PATHS ${ARCH_PREBUILT_DIRS_RELEASE}
15 ) 22 )
16 23
@@ -26,7 +33,7 @@ if (OPENAL)
26 33
27 find_path(OPENAL_INCLUDE_DIR 34 find_path(OPENAL_INCLUDE_DIR
28 NAMES al.h 35 NAMES al.h
29 PATHS ${LIBS_PREBUILT_DIR}/include /usr/include/AL 36 PATHS ${LIBS_PREBUILT_DIR}/include/AL /usr/include/AL
30 ) 37 )
31 38
32 if (NOT OPENAL_INCLUDE_DIR) 39 if (NOT OPENAL_INCLUDE_DIR)
@@ -56,7 +63,7 @@ if (OPENAL)
56 63
57 find_path(ALUT_INCLUDE_DIR 64 find_path(ALUT_INCLUDE_DIR
58 NAMES alut.h 65 NAMES alut.h
59 PATHS ${LIBS_PREBUILT_DIR}/include /usr/include/AL 66 PATHS ${LIBS_PREBUILT_DIR}/include/AL /usr/include/AL
60 ) 67 )
61 68
62 if (NOT ALUT_INCLUDE_DIR) 69 if (NOT ALUT_INCLUDE_DIR)