Fix Linux build

This commit is contained in:
squidbus 2025-05-12 21:39:14 -07:00 committed by GitHub
parent 580ae15c19
commit 55df4979c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1097,6 +1097,7 @@ endif()
# Optional due to https://github.com/shadps4-emu/shadPS4/issues/1704 # Optional due to https://github.com/shadps4-emu/shadPS4/issues/1704
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND ENABLE_USERFAULTFD) if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND ENABLE_USERFAULTFD)
target_compile_definitions(shadps4 PRIVATE ENABLE_USERFAULTFD) target_compile_definitions(shadps4 PRIVATE ENABLE_USERFAULTFD)
target_link_libraries(shadps4 PRIVATE uuid)
endif() endif()
if (APPLE) if (APPLE)