Use newer BundleUtilities and GetPrerequisites.

macOS bundling needs executable scripts to be handled
better by CMake than they were in the past.

Until we require 3.14 or newer, bring in the modules from
45ed314bff.
This commit is contained in:
Adam Wolf 2021-03-28 14:34:40 -05:00 committed by Seth Hillbrand
parent cdc8fd3804
commit e4bd687245
3 changed files with 2181 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ if( PYTHON_SITE_PACKAGE_PATH )
if( APPLE ) # extra path for macOS, so that 'wx' module is accessible if( APPLE ) # extra path for macOS, so that 'wx' module is accessible
set( _py_site_path set( _py_site_path
"${_py_site_path}sys.path.insert(0, \"${PYTHON_SITE_PACKAGE_PATH}/wx-3.0-osx_cocoa\");" ) "${_py_site_path}sys.path.insert(0, \"${PYTHON_SITE_PACKAGE_PATH}/wx-3.0-osx_cocoa\");" ) #TODO is this needed with Python3?
endif() endif()
endif() endif()

File diff suppressed because it is too large Load Diff