From 55df4979c5b8536634f7c45412b16a78c3e80c8d Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Mon, 12 May 2025 21:39:14 -0700 Subject: [PATCH] Fix Linux build --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c182e0658..c8e2ebe93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1097,6 +1097,7 @@ endif() # 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) + target_link_libraries(shadps4 PRIVATE uuid) endif() if (APPLE)