File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.6.3...3.25 FATAL_ERROR )
22
3+ foreach (HIDAPI_CMAKE_POLICY CMP0156 CMP0179 CMP0181 CMP0200)
4+ if (POLICY ${HIDAPI_CMAKE_POLICY} )
5+ cmake_policy (SET ${HIDAPI_CMAKE_POLICY} NEW )
6+ endif ()
7+ endforeach ()
8+ unset (HIDAPI_CMAKE_POLICY)
9+
310list (APPEND HIDAPI_PUBLIC_HEADERS "hidapi_libusb.h" )
411
512add_library (hidapi_libusb
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.6.3...3.25 FATAL_ERROR )
22
3+ foreach (HIDAPI_CMAKE_POLICY CMP0156 CMP0179 CMP0181 CMP0200)
4+ if (POLICY ${HIDAPI_CMAKE_POLICY} )
5+ cmake_policy (SET ${HIDAPI_CMAKE_POLICY} NEW )
6+ endif ()
7+ endforeach ()
8+ unset (HIDAPI_CMAKE_POLICY)
9+
310add_library (hidapi_hidraw
411 ${HIDAPI_PUBLIC_HEADERS}
512 hid.c
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.4.3...3.25 FATAL_ERROR )
22
3+ foreach (HIDAPI_CMAKE_POLICY CMP0156 CMP0179 CMP0181 CMP0200)
4+ if (POLICY ${HIDAPI_CMAKE_POLICY} )
5+ cmake_policy (SET ${HIDAPI_CMAKE_POLICY} NEW )
6+ endif ()
7+ endforeach ()
8+ unset (HIDAPI_CMAKE_POLICY)
9+
310list (APPEND HIDAPI_PUBLIC_HEADERS "hidapi_darwin.h" )
411
512add_library (hidapi_darwin
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.6.3...3.25 FATAL_ERROR )
22
3+ foreach (HIDAPI_CMAKE_POLICY CMP0156 CMP0179 CMP0181 CMP0200)
4+ if (POLICY ${HIDAPI_CMAKE_POLICY} )
5+ cmake_policy (SET ${HIDAPI_CMAKE_POLICY} NEW )
6+ endif ()
7+ endforeach ()
8+ unset (HIDAPI_CMAKE_POLICY)
9+
310add_library (hidapi_netbsd
411 ${HIDAPI_PUBLIC_HEADERS}
512 hid.c
You can’t perform that action at this time.
0 commit comments