Add support for quarantine on macOS

This commit is contained in:
Chocobo1
2023-10-28 00:38:48 +08:00
parent b4642ca9d3
commit 98576dacae
5 changed files with 58 additions and 23 deletions

View File

@@ -205,9 +205,9 @@ target_link_libraries(qbt_base
)
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
find_library(IOKit_LIBRARY IOKit)
find_library(Carbon_LIBRARY Carbon)
find_library(AppKit_LIBRARY AppKit)
find_library(Carbon_LIBRARY Carbon)
find_library(IOKit_LIBRARY IOKit)
target_link_libraries(qbt_base PRIVATE
${AppKit_LIBRARY}