Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[cmake] Link to `UniformTypeIdentifiers` framework on macOS (#4046)

crueterf39e985434c6
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c797261488..e89eb4a999 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -512,7 +512,7 @@ endfunction()
# =============================================
if (APPLE)
- foreach(fw Carbon Metal Cocoa IOKit CoreVideo CoreMedia Security)
+ foreach(fw Carbon Metal Cocoa IOKit CoreVideo CoreMedia Security UniformTypeIdentifiers)
find_library(${fw}_LIBRARY ${fw} REQUIRED)
list(APPEND PLATFORM_LIBRARIES ${${fw}_LIBRARY})
endforeach()