mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
Disable userfaultfd again by making it opt-in (#1777)
* Disable userfaultfd again * Let userfd be be opt-in instead of disabled
This commit is contained in:
parent
ef045e67e1
commit
8815b2dd25
|
@ -890,7 +890,8 @@ if (ENABLE_DISCORD_RPC)
|
|||
target_compile_definitions(shadps4 PRIVATE ENABLE_DISCORD_RPC)
|
||||
endif()
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
# Optional due to https://github.com/shadps4-emu/shadPS4/issues/1704
|
||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND ENABLE_USERFAULTFD)
|
||||
target_compile_definitions(shadps4 PRIVATE ENABLE_USERFAULTFD)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue