From fd6417555894292dab4d24dd18f16f06ccda4f89 Mon Sep 17 00:00:00 2001 From: Ihor Dutchak Date: Wed, 14 Oct 2020 20:26:59 +0300 Subject: [PATCH] fix macOS build --- mac/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mac/CMakeLists.txt b/mac/CMakeLists.txt index 9dc0f6c..0a7dba1 100644 --- a/mac/CMakeLists.txt +++ b/mac/CMakeLists.txt @@ -10,7 +10,7 @@ find_package(Threads REQUIRED) target_link_libraries(hidapi_darwin PUBLIC hidapi_include PRIVATE Threads::Threads - PRIVATE "-framework IOKit" "-framework CoreFoundation" + PRIVATE "-framework IOKit" "-framework CoreFoundation" "-framework AppKit" ) set_target_properties(hidapi_darwin