mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
Fix Linux build
This commit is contained in:
parent
580ae15c19
commit
55df4979c5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user