diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt index 1f73999011..b782c094bc 100644 --- a/pcsx2/CMakeLists.txt +++ b/pcsx2/CMakeLists.txt @@ -1220,11 +1220,6 @@ if (APPLE) find_library(METAL_LIBRARY Metal) find_library(QUARTZCORE_LIBRARY QuartzCore) target_link_libraries(PCSX2_FLAGS INTERFACE ${METAL_LIBRARY} ${QUARTZCORE_LIBRARY}) - - # MacOS defaults to having a maximum protection of the __DATA segment of rw (non-executable) - # We have a bunch of page-sized arrays in bss that we use for jit - # Obviously not being able to make those arrays executable would be a problem - target_link_options(PCSX2_FLAGS INTERFACE -Wl,-segprot,__DATA,rwx,rw) endif() set_property(GLOBAL PROPERTY PCSX2_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})