diff options
Diffstat (limited to 'linden')
-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) | ||