aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/OPENAL.cmake
diff options
context:
space:
mode:
authorJacek Antonelli2008-11-19 19:48:44 -0600
committerJacek Antonelli2008-11-19 19:48:44 -0600
commite563b107a2b58935ef8c3ab2cfdfdbc2d7cdfa2d (patch)
tree37d58d7ad76c27754a0add9b7f07643106fb6c92 /linden/indra/cmake/OPENAL.cmake
parentPackage up OpenAL libs. (diff)
downloadmeta-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.cmake14
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
3set(OPENAL OFF CACHE BOOL "Enable OpenAL")
4
5if (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
14endif (OPENAL)