From 84d7d57b8a99724fa238bad3dacc046470485956 Mon Sep 17 00:00:00 2001 From: Ihor Dutchak Date: Thu, 15 Apr 2021 18:38:41 +0300 Subject: [PATCH] Fix MinGW build on Linux/Unix platforms Co-authored-by: Anonymous Maarten --- windows/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index a808197..911114e 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -4,7 +4,7 @@ add_library(hidapi_winapi ) target_link_libraries(hidapi_winapi PUBLIC hidapi_include - PRIVATE Setupapi + PRIVATE setupapi ) set_target_properties(hidapi_winapi