diff options
author | Jacek Antonelli | 2008-11-19 19:48:44 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-11-19 19:48:44 -0600 |
commit | e563b107a2b58935ef8c3ab2cfdfdbc2d7cdfa2d (patch) | |
tree | 37d58d7ad76c27754a0add9b7f07643106fb6c92 | |
parent | Package up OpenAL libs. (diff) | |
download | meta-impy-e563b107a2b58935ef8c3ab2cfdfdbc2d7cdfa2d.zip meta-impy-e563b107a2b58935ef8c3ab2cfdfdbc2d7cdfa2d.tar.gz meta-impy-e563b107a2b58935ef8c3ab2cfdfdbc2d7cdfa2d.tar.bz2 meta-impy-e563b107a2b58935ef8c3ab2cfdfdbc2d7cdfa2d.tar.xz |
(Forgot to check this file in with the OpenAL patch.)
Diffstat (limited to '')
-rw-r--r-- | linden/indra/cmake/OPENAL.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/cmake/OPENAL.cmake b/linden/indra/cmake/OPENAL.cmake new file mode 100644 index 0000000..b0d9dac --- /dev/null +++ b/linden/indra/cmake/OPENAL.cmake | |||
@@ -0,0 +1,14 @@ | |||
1 | # -*- cmake -*- | ||
2 | |||
3 | set(OPENAL OFF CACHE BOOL "Enable OpenAL") | ||
4 | |||
5 | if (OPENAL) | ||
6 | include(FindPkgConfig) | ||
7 | pkg_check_modules(OPENAL_LIB REQUIRED openal) | ||
8 | pkg_check_modules(FREEAULT_LIB REQUIRED freealut) | ||
9 | set(OPENAL_LIBRARIES | ||
10 | openal | ||
11 | alut | ||
12 | ) | ||
13 | |||
14 | endif (OPENAL) | ||