Commit: a4c3a87635ab4079ae3ffa87a64488aae67d87b3
Author: Ray Molenkamp
Date:   Sat Aug 11 14:44:02 2018 -0600
Branches: master
https://developer.blender.org/rBa4c3a87635ab4079ae3ffa87a64488aae67d87b3

build_environment:openal 1.18.2

===================================================================

M       build_files/build_environment/cmake/harvest.cmake
M       build_files/build_environment/cmake/openal.cmake
M       build_files/build_environment/cmake/versions.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/harvest.cmake 
b/build_files/build_environment/cmake/harvest.cmake
index 4bbe01974f6..5adfb951215 100644
--- a/build_files/build_environment/cmake/harvest.cmake
+++ b/build_files/build_environment/cmake/harvest.cmake
@@ -45,10 +45,6 @@ if(BUILD_MODE STREQUAL Release)
                                ${CMAKE_COMMAND} -E copy_directory 
${LIBDIR}/sdl/include/sdl2 ${HARVEST_TARGET}/sdl/include &&
                                ${CMAKE_COMMAND} -E copy_directory 
${LIBDIR}/sdl/lib ${HARVEST_TARGET}/sdl/lib &&
                                ${CMAKE_COMMAND} -E copy_directory 
${LIBDIR}/sdl/bin ${HARVEST_TARGET}/sdl/lib &&
-                               # openal
-                               ${CMAKE_COMMAND} -E copy 
${LIBDIR}/openal/lib/openal32.lib ${HARVEST_TARGET}/openal/lib/openal32.lib &&
-                               ${CMAKE_COMMAND} -E copy 
${LIBDIR}/openal/bin/openal32.dll ${HARVEST_TARGET}/openal/lib/openal32.dll &&
-                               ${CMAKE_COMMAND} -E copy_directory 
${LIBDIR}/openal/include/ ${HARVEST_TARGET}/openal/include/ &&
                                # OpenImageIO
                                ${CMAKE_COMMAND} -E copy_directory 
${LIBDIR}/OpenImageIO/include ${HARVEST_TARGET}/OpenImageIO/include &&
                                ${CMAKE_COMMAND} -E copy_directory 
${LIBDIR}/OpenImageIO/lib ${HARVEST_TARGET}/OpenImageIO/lib &&
diff --git a/build_files/build_environment/cmake/openal.cmake 
b/build_files/build_environment/cmake/openal.cmake
index 0bc0452dd8c..3cd3a0aac72 100644
--- a/build_files/build_environment/cmake/openal.cmake
+++ b/build_files/build_environment/cmake/openal.cmake
@@ -41,4 +41,14 @@ if(BUILD_MODE STREQUAL Release)
                INSTALL_DIR ${LIBDIR}/openal
                PATCH_COMMAND ${PATCH_CMD} -p 1 -d 
${BUILD_DIR}/openal/src/external_openal < ${PATCH_DIR}/openal.diff
        )
+
+       if(WIN32)
+               ExternalProject_Add_Step(external_openal after_install
+                       COMMAND ${CMAKE_COMMAND} -E copy 
${LIBDIR}/openal/lib/openal32.lib ${HARVEST_TARGET}/openal/lib/openal32.lib
+                       COMMAND ${CMAKE_COMMAND} -E copy 
${LIBDIR}/openal/bin/openal32.dll ${HARVEST_TARGET}/openal/lib/openal32.dll
+                       COMMAND ${CMAKE_COMMAND} -E copy_directory 
${LIBDIR}/openal/include/ ${HARVEST_TARGET}/openal/include/
+                       DEPENDEES install
+               )
+       endif()
+
 endif()
diff --git a/build_files/build_environment/cmake/versions.cmake 
b/build_files/build_environment/cmake/versions.cmake
index 07c97100434..490688016a4 100644
--- a/build_files/build_environment/cmake/versions.cmake
+++ b/build_files/build_environment/cmake/versions.cmake
@@ -20,9 +20,9 @@ set(ZLIB_VERSION 1.2.11)
 set(ZLIB_URI https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz)
 set(ZLIB_HASH 1c9f62f0778697a09d36121ead88e08e)
 
-set(OPENAL_VERSION 1.17.2)
+set(OPENAL_VERSION 1.18.2)
 set(OPENAL_URI 
http://kcat.strangesoft.net/openal-releases/openal-soft-${OPENAL_VERSION}.tar.bz2)
-set(OPENAL_HASH 1764e0d8fec499589b47ebc724e0913d)
+set(OPENAL_HASH d4eeb0889812e2fdeaa1843523d76190)
 
 set(PNG_VERSION 1.6.35)
 set(PNG_URI 
http://prdownloads.sourceforge.net/libpng/libpng-${PNG_VERSION}.tar.xz)

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to