diff options
| author | Alain Linden <alain@lindenlab.com> | 2011-03-01 15:32:35 -0800 | 
|---|---|---|
| committer | Alain Linden <alain@lindenlab.com> | 2011-03-01 15:32:35 -0800 | 
| commit | 88f507f9ccae33a3fa9b3706a96af5c87db804b5 (patch) | |
| tree | 43ef800f3e398f33b64878a1df1bd5a9e29a9d3e /indra/cmake | |
| parent | a14c5e8f31ede83b0d72aec2ed363ae55b866b09 (diff) | |
fixes to get openal working on windows.
Diffstat (limited to 'indra/cmake')
| -rw-r--r-- | indra/cmake/OPENAL.cmake | 14 | 
1 files changed, 11 insertions, 3 deletions
| diff --git a/indra/cmake/OPENAL.cmake b/indra/cmake/OPENAL.cmake index ed483e5aea..a3e1fb924e 100644 --- a/indra/cmake/OPENAL.cmake +++ b/indra/cmake/OPENAL.cmake @@ -9,6 +9,7 @@ else (LINUX)  endif (LINUX)  if (OPENAL) +  set(OPENAL_LIB_INCLUDE_DIRS "${LIBS_PREBUILT_DIR}/include/AL")    if (STANDALONE)      include(FindPkgConfig)      include(FindOpenAL) @@ -17,10 +18,17 @@ if (OPENAL)    else (STANDALONE)      use_prebuilt_binary(openal_soft)    endif (STANDALONE) -  set(OPENAL_LIBRARIES  -    openal -    alut +  if(WINDOWS) +    set(OPENAL_LIBRARIES  +      OpenAL32 +      alut      ) +  else() +    set(OPENAL_LIBRARIES  +      openal +      alut +    ) +  endif()  endif (OPENAL)  if (OPENAL) | 
