From cbbabedd5214c1642d8027a003c008f63ea2fecc Mon Sep 17 00:00:00 2001 From: Chad Cassady Date: Thu, 20 Jun 2024 18:23:40 -0500 Subject: [PATCH] this might fix the windows build --- lang/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/CMakeLists.txt b/lang/CMakeLists.txt index 9f64006567e..3f54229582e 100644 --- a/lang/CMakeLists.txt +++ b/lang/CMakeLists.txt @@ -172,7 +172,7 @@ endif(WIN32) if(SC_HIDAPI) list(APPEND sclang_sources LangPrimSource/SC_HID_api.cpp) - find_package(hidapi REQUIRED) + find_package(hidapi CONFIG REQUIRED) include_directories( ${CMAKE_SOURCE_DIR}/external_libraries/hidapi )