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

set(OPENAL ON 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)