From b9ff8ff32f2e818396c2800ca35963fb5c808791 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Mon, 2 Mar 2020 15:45:47 -0600 Subject: [PATCH] FindHIDAPI: Fix error if HDIAPI not found --- cmake/FindHIDAPI.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/FindHIDAPI.cmake b/cmake/FindHIDAPI.cmake index 5a73af54e..011df1964 100644 --- a/cmake/FindHIDAPI.cmake +++ b/cmake/FindHIDAPI.cmake @@ -191,7 +191,8 @@ unset(_comp) ### include(FindPackageHandleStandardArgs) find_package_handle_standard_args(HIDAPI -REQUIRED_VARS + REQUIRED_VARS + HIDAPI_INCLUDE_DIR ${_hidapi_component_required_vars} THREADS_FOUND HANDLE_COMPONENTS)