mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-07 13:22:55 +02:00
* macOS compile * Fix memprotect error on macOS * Fix semaphore wait + thread cancel on macOS * Fix timedlock timeout calculation * spu2-x macOS * onepad macOS support * Add MacOS game controller db * Disable onepad_legacy on macOS * Fix spu2-x configuration crashes * Make recompiler work on 32-bit macOS * Use dylib extension for plugins on macOS * Make app bundle on macOS * Use git info for Info.plist version
11 lines
372 B
CMake
11 lines
372 B
CMake
# This file should be run with cmake -DPCSX2_BUNDLE_PATH=path -P Pcsx2PostprocessBundle.cmake
|
|
|
|
get_filename_component(PCSX2_BUNDLE_PATH "${PCSX2_BUNDLE_PATH}" ABSOLUTE)
|
|
|
|
# Fixup plugins too
|
|
file(GLOB_RECURSE plugins "${PCSX2_BUNDLE_PATH}/Contents/MacOS/*.dylib")
|
|
|
|
include(BundleUtilities)
|
|
set(BU_CHMOD_BUNDLE_ITEMS ON)
|
|
fixup_bundle("${PCSX2_BUNDLE_PATH}" "${plugins}" "")
|