Commit: 28e9058e7ad29844c111e02fd1b44c9fc57a9b1f
Author: Jens Verwiebe
Date:   Mon Apr 6 19:12:23 2015 +0200
Branches: master
https://developer.blender.org/rB28e9058e7ad29844c111e02fd1b44c9fc57a9b1f

OSX: add a license file for libiomp5 ( intel omp ) when compiled with

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

M       build_files/scons/tools/Blender.py

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

diff --git a/build_files/scons/tools/Blender.py 
b/build_files/scons/tools/Blender.py
index dbe1caf..e751be3 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -816,6 +816,8 @@ def AppIt(target=None, source=None, env=None):
             instname = env['LCGDIR'][1:] # made libiomp5 part of blender libs
             cmd = 'ditto --arch %s %s/openmp/lib/libiomp5.dylib 
%s/%s.app/Contents/Resources/lib/'%(osxarch, instname, installdir, binary) # 
copy libiomp5
             commands.getoutput(cmd)
+            cmd = 'cp %s/openmp/LICENSE.txt 
%s/LICENSE-libiomp5.txt'%(instname, installdir) # copy libiomp5 license
+            commands.getoutput(cmd)
 
 # extract copy system python, be sure to update other build systems
 # when making changes to the files that are copied.

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

Reply via email to