depends: use macOS 11 SDK with libc++ headers

This commit is contained in:
tobtoht
2023-07-07 00:13:12 +02:00
parent 0a1eaf26f9
commit ebb7671e0e
5 changed files with 9 additions and 10 deletions

View File

@@ -1122,7 +1122,7 @@ list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
if (HIDAPI_FOUND OR LibUSB_COMPILE_TEST_PASSED)
if (APPLE)
if(DEPENDS)
list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework AppKit -framework IOKit")
list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework AppKit -framework IOKit -framework Security")
else()
find_library(COREFOUNDATION CoreFoundation)
find_library(APPKIT AppKit)