File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
1515 message ("!!! hidapi_VERSION_EXACT: ${hidapi_VERSION_EXACT} " )
1616 message ("!!! hidapi_COMPONENTS: ${hidapi_COMPONENTS} " )
1717 message ("!!! hidapi_FIND_COMPONENTS: ${hidapi_FIND_COMPONENTS} " )
18- if (NOTE hidapi_FOUND)
18+ if (NOT hidapi_FOUND)
1919 return ()
2020 endif ()
2121 message (STATUS "Using HIDAPI: ${hidapi_VERSION} " )
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ set(hidapi_VERSION_PATCH "@hidapi_VERSION_PATCH@")
66set (hidapi_VERSION "@hidapi_VERSION@" )
77set (hidapi_VERSION_STR "@hidapi_VERSION@@VERSION_SUFFIX@" )
88
9+ message ("!! hidapi_VERSION: ${hidapi_VERSION} " )
10+
911set (hidapi_FOUND FALSE )
1012
1113set (HIDAPI_NEED_EXPORT_THREADS @HIDAPI_NEED_EXPORT_THREADS@)
@@ -41,8 +43,12 @@ if(HIDAPI_NEED_EXPORT_ICONV)
4143 endif ()
4244endif ()
4345
46+ message ("!! Before Include" )
47+
4448include ("${CMAKE_CURRENT_LIST_DIR} /libhidapi.cmake" )
4549
50+ message ("!! After Include" )
51+
4652set (hidapi_FOUND TRUE )
4753
4854foreach (_component @EXPORT_COMPONENTS@)
You can’t perform that action at this time.
0 commit comments