FindHIDAPI: Fix error if HDIAPI not found

This commit is contained in:
Ryan Pavlik 2020-03-02 15:45:47 -06:00 committed by Jakob Bornecrantz
parent 81d9983398
commit b9ff8ff32f

View file

@ -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)