OSX: add a license file for libiomp5 ( intel omp ) when compiled with
authorJens Verwiebe <info@jensverwiebe.de>
Mon, 6 Apr 2015 17:12:23 +0000 (19:12 +0200)
committerJens Verwiebe <info@jensverwiebe.de>
Mon, 6 Apr 2015 17:12:23 +0000 (19:12 +0200)
build_files/scons/tools/Blender.py

index dbe1cafc14f00a360a6c15714949e9e3718d95e2..e751be3ebc5a4ad022697700fa088fd390a0c1c9 100644 (file)
@@ -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.