summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorAlain Linden <alain@lindenlab.com>2011-03-01 15:34:17 -0800
committerAlain Linden <alain@lindenlab.com>2011-03-01 15:34:17 -0800
commit52e107e419b5bfb17f506efc127a51e8fec855e2 (patch)
tree828c3273365d5a90601c3e30c4c9ed1dab89f87a /indra/cmake
parent31d673cb512f88c0bd55dd2f81671a16df0dc0c8 (diff)
parent88f507f9ccae33a3fa9b3706a96af5c87db804b5 (diff)
Automated merge with https://bitbucket.org/jenn_linden/viewer-vs2010
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/OPENAL.cmake14
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)