[Bf-blender-cvs] [1ebc14064b6] master: Build deps: do sndfile patch also on linux platform

Arto Kitula noreply at git.blender.org
Sat Mar 31 01:15:21 CEST 2018


Commit: 1ebc14064b63feb6118d5bc7f990385cbac7f530
Author: Arto Kitula
Date:   Sat Mar 31 02:15:13 2018 +0300
Branches: master
https://developer.blender.org/rB1ebc14064b63feb6118d5bc7f990385cbac7f530

Build deps: do sndfile patch also on linux platform

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

M	build_files/build_environment/cmake/sndfile.cmake

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

diff --git a/build_files/build_environment/cmake/sndfile.cmake b/build_files/build_environment/cmake/sndfile.cmake
index 282033d4905..2c4da159280 100644
--- a/build_files/build_environment/cmake/sndfile.cmake
+++ b/build_files/build_environment/cmake/sndfile.cmake
@@ -27,7 +27,7 @@ else()
 	set(SNDFILE_OPTIONS --enable-static --disable-shared )
 endif()
 
-if(APPLE)
+if(UNIX)
 	set(SNDFILE_PATCH_CMD ${PATCH_CMD} --verbose -p 0 -d ${BUILD_DIR}/sndfile/src/external_sndfile < ${PATCH_DIR}/sndfile.diff)
 else()
 	set(SNDFILE_PATCH_CMD)



More information about the Bf-blender-cvs mailing list