Skip to content

Commit 5d696d4

Browse files
CopilotYouw
andauthored
cmake: restore per-backend cmake_minimum_required
Agent-Logs-Url: https://github.com/libusb/hidapi/sessions/1729f72e-e916-46d3-929a-3965d8177d8d Co-authored-by: Youw <5939659+Youw@users.noreply.github.com>
1 parent 3feb097 commit 5d696d4

5 files changed

Lines changed: 8 additions & 0 deletions

File tree

libusb/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_minimum_required(VERSION 3.6.3...3.25 FATAL_ERROR)
2+
13
list(APPEND HIDAPI_PUBLIC_HEADERS "hidapi_libusb.h")
24

35
add_library(hidapi_libusb

linux/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_minimum_required(VERSION 3.6.3...3.25 FATAL_ERROR)
2+
13
add_library(hidapi_hidraw
24
${HIDAPI_PUBLIC_HEADERS}
35
hid.c

mac/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_minimum_required(VERSION 3.4.3...3.25 FATAL_ERROR)
2+
13
list(APPEND HIDAPI_PUBLIC_HEADERS "hidapi_darwin.h")
24

35
add_library(hidapi_darwin

netbsd/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_minimum_required(VERSION 3.6.3...3.25 FATAL_ERROR)
2+
13
add_library(hidapi_netbsd
24
${HIDAPI_PUBLIC_HEADERS}
35
hid.c

subprojects/.wraplock

Whitespace-only changes.

0 commit comments

Comments
 (0)