diff options
author | McCabe Maxsted | 2009-02-06 01:49:25 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-02-06 01:49:25 -0700 |
commit | 40811dbf0d99f07acaedcd8c0f01803b39971df9 (patch) | |
tree | 4cce39e11db1cc2b0767f23e6576c52156f671f6 /linden/indra/cmake/OPENAL.cmake | |
parent | Updated CMake files to RC1 (diff) | |
download | meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.zip meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.tar.gz meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.tar.bz2 meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.tar.xz |
develop.py should now work again under windows
Diffstat (limited to 'linden/indra/cmake/OPENAL.cmake')
-rw-r--r-- | linden/indra/cmake/OPENAL.cmake | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/linden/indra/cmake/OPENAL.cmake b/linden/indra/cmake/OPENAL.cmake index f24ec22..5e71f66 100644 --- a/linden/indra/cmake/OPENAL.cmake +++ b/linden/indra/cmake/OPENAL.cmake | |||
@@ -12,7 +12,7 @@ if (OPENAL) | |||
12 | if (WINDOWS) | 12 | if (WINDOWS) |
13 | find_library(OPENAL_LIB | 13 | find_library(OPENAL_LIB |
14 | NAMES openal openal32 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/ | 15 | PATHS ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release |
16 | ) | 16 | ) |
17 | 17 | ||
18 | else (WINDOWS) | 18 | else (WINDOWS) |
@@ -20,7 +20,8 @@ if (OPENAL) | |||
20 | NAMES openal openal32 OpenAL OpenAL32 wrap_oal | 20 | NAMES openal openal32 OpenAL OpenAL32 wrap_oal |
21 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} | 21 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} |
22 | ) | 22 | ) |
23 | 23 | endif (WINDOWS) | |
24 | |||
24 | if (NOT OPENAL_LIB) | 25 | if (NOT OPENAL_LIB) |
25 | message(FATAL_ERROR "OpenAL not found!") | 26 | message(FATAL_ERROR "OpenAL not found!") |
26 | else (NOT OPENAL_LIB) | 27 | else (NOT OPENAL_LIB) |
@@ -46,10 +47,18 @@ if (OPENAL) | |||
46 | 47 | ||
47 | # ALUT_LIB | 48 | # ALUT_LIB |
48 | 49 | ||
50 | if (WINDOWS) | ||
51 | find_library(ALUT_LIB | ||
52 | NAMES alut freealut | ||
53 | PATHS ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release | ||
54 | ) | ||
55 | |||
56 | else (WINDOWS) | ||
49 | find_library(ALUT_LIB | 57 | find_library(ALUT_LIB |
50 | NAMES alut freealut | 58 | NAMES alut freealut |
51 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} | 59 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} |
52 | ) | 60 | ) |
61 | endif (WINDOWS) | ||
53 | 62 | ||
54 | if (NOT ALUT_LIB) | 63 | if (NOT ALUT_LIB) |
55 | message(FATAL_ERROR "ALUT not found!") | 64 | message(FATAL_ERROR "ALUT not found!") |