From 81c2fb508bf6c711fe473a0156efb2e2880301bd Mon Sep 17 00:00:00 2001 From: nastys <@a.a> Date: Mon, 3 Jan 2022 16:33:33 +0100 Subject: [PATCH] Fix macOS hidapi CMakeLists --- 3rdparty/hidapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/hidapi/CMakeLists.txt b/3rdparty/hidapi/CMakeLists.txt index c7daa0d84b..9a7f14ebd9 100644 --- a/3rdparty/hidapi/CMakeLists.txt +++ b/3rdparty/hidapi/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(3rdparty_hidapi INTERFACE) add_subdirectory(hidapi EXCLUDE_FROM_ALL) if(APPLE) - target_link_libraries(3rdparty_hidapi INTERFACE hidapi-mac "-framework CoreFoundation" "-framework IOKit") + target_link_libraries(3rdparty_hidapi INTERFACE hidapi_darwin "-framework CoreFoundation" "-framework IOKit") elseif(CMAKE_SYSTEM MATCHES "Linux") target_link_libraries(3rdparty_hidapi INTERFACE hidapi-hidraw udev) elseif(WIN32)