diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/cmake/OPENAL.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/cmake/OPENAL.cmake b/linden/indra/cmake/OPENAL.cmake index 11dcdc7..f06a38e 100644 --- a/linden/indra/cmake/OPENAL.cmake +++ b/linden/indra/cmake/OPENAL.cmake | |||
@@ -14,8 +14,14 @@ if (OPENAL) | |||
14 | NAMES openal32 | 14 | NAMES openal32 |
15 | PATHS ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release | 15 | PATHS ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release |
16 | ) | 16 | ) |
17 | elseif (DARWIN) | ||
18 | # Look for for system's OpenAL.framework | ||
19 | find_library(OPENAL_LIB | ||
20 | NAMES OpenAL openal | ||
21 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} | ||
22 | ) | ||
17 | else (WINDOWS) | 23 | else (WINDOWS) |
18 | set(OPENAL_LIB openal) | 24 | set(OPENAL_LIB openal) |
19 | endif (WINDOWS) | 25 | endif (WINDOWS) |
20 | 26 | ||
21 | if (NOT OPENAL_LIB) | 27 | if (NOT OPENAL_LIB) |