aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/OPENAL.cmake
blob: b0d9dac71cf297899a1b74679b15e532ae0f4bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- cmake -*-

set(OPENAL OFF CACHE BOOL "Enable OpenAL")

if (OPENAL)
  include(FindPkgConfig)
  pkg_check_modules(OPENAL_LIB REQUIRED openal)
  pkg_check_modules(FREEAULT_LIB REQUIRED freealut)
  set(OPENAL_LIBRARIES 
    openal
    alut
    )
  
endif (OPENAL)