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 /source/creator
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 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt20
1 files changed, 14 insertions, 6 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index cd846eb1978..eabf1fc7f49 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -628,12 +628,20 @@ elseif(WIN32)
endif()
if(WITH_OPENAL)
- install(
- FILES
- ${LIBDIR}/openal/lib/OpenAL32.dll
- ${LIBDIR}/openal/lib/wrap_oal.dll
- DESTINATION ${TARGETDIR}
- )
+ if(MSVC11)
+ install(
+ FILES
+ ${LIBDIR}/openal/lib/OpenAL32.dll
+ DESTINATION ${TARGETDIR}
+ )
+ else()
+ install(
+ FILES
+ ${LIBDIR}/openal/lib/OpenAL32.dll
+ ${LIBDIR}/openal/lib/wrap_oal.dll
+ DESTINATION ${TARGETDIR}
+ )
+ endif()
endif()
if(WITH_JACK AND MSVC11)