Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürgen Herrmann <shadowrom@me.com>2013-05-15 15:26:57 +0400
committerJürgen Herrmann <shadowrom@me.com>2013-05-15 15:26:57 +0400
commit7b9a321a79b70bbed9ee98118e58b963cea4f0dc (patch)
treec87e45dda5850a10f649010c30ffbf823340f94d /CMakeLists.txt
parent98beda156c5e5c05c340abc929c585b8556e99fc (diff)
Patch for CMakeLists.txt to build with new OpenAL libs on VS2012.
Because of crashing issue with old Creative Labs OpenAL on Windows 8 x64.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c8b4e85167f..daae377e58f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -984,7 +984,11 @@ elseif(WIN32)
if(WITH_OPENAL)
set(OPENAL ${LIBDIR}/openal)
set(OPENAL_INCLUDE_DIR ${OPENAL}/include)
- set(OPENAL_LIBRARY wrap_oal)
+ if(MSVC11)
+ set(OPENAL_LIBRARY openal32)
+ else()
+ set(OPENAL_LIBRARY wrap_oal)
+ endif()
set(OPENAL_LIBPATH ${OPENAL}/lib)
endif()