fix path to release/python.zip for scons and cmake
I hope this doesn't break anything
This commit is contained in:
@@ -501,10 +501,7 @@ def AppIt(target=None, source=None, env=None):
|
||||
installdir = env['BF_INSTALLDIR']
|
||||
print("compiled architecture: %s"%(osxarch))
|
||||
print("Installing to %s"%(installdir))
|
||||
if libdir == '../lib/darwin-9.x.universal':
|
||||
python_zip = 'python_' + osxarch + '.zip' # set specific python_arch.zip
|
||||
else:
|
||||
python_zip = 'python.zip' # compatibility for darwin8 python.zip
|
||||
python_zip = 'python_' + osxarch + '.zip' # set specific python_arch.zip
|
||||
print("unzipping to app-bundle: %s"%(python_zip))
|
||||
bldroot = env.Dir('.').abspath
|
||||
binary = env['BINARYKIND']
|
||||
|
@@ -272,11 +272,7 @@ IF(WITH_INSTALL)
|
||||
ENDIF(WITH_INTERNATIONAL)
|
||||
|
||||
IF(WITH_PYTHON)
|
||||
IF(WITH_LIBS10.5)
|
||||
SET(PYTHON_ZIP "python_${CMAKE_OSX_ARCHITECTURES}.zip")
|
||||
ELSE(WITH_LIBS10.5)
|
||||
SET(PYTHON_ZIP "python.zip")
|
||||
ENDIF(WITH_LIBS10.5)
|
||||
SET(PYTHON_ZIP "python_${CMAKE_OSX_ARCHITECTURES}.zip")
|
||||
ADD_CUSTOM_COMMAND(
|
||||
TARGET blender POST_BUILD MAIN_DEPENDENCY blender
|
||||
COMMAND cp -Rf ${CMAKE_SOURCE_DIR}/release/scripts ${TARGETDIR}/blender.app/Contents/MacOS/scripts/
|
||||
|
Reference in New Issue
Block a user