hidapi: minor sync with mainstream (for sake of symmetry, only.)

This commit is contained in:
Ozkan Sezer 2024-03-05 14:33:06 +03:00
parent fb87f8f15c
commit 26e3ca7387
8 changed files with 8 additions and 8 deletions

View File

@ -159,7 +159,7 @@ endif()
HIDAPI can be easily used as a subdirectory of a larger CMake project:
```cmake
# root CMakeLists.txt
cmake_minimum_required(VERSION 3.4.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.4.3...3.25 FATAL_ERROR)
add_subdirectory(hidapi)
add_subdirectory(my_application)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.1.3...3.25 FATAL_ERROR)
if(NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_subdirectory(src)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.1.3...3.25 FATAL_ERROR)
project(hidtest C)
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.6.3...3.25 FATAL_ERROR)
list(APPEND HIDAPI_PUBLIC_HEADERS "hidapi_libusb.h")

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.6.3...3.25 FATAL_ERROR)
add_library(hidapi_hidraw
${HIDAPI_PUBLIC_HEADERS}

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.4.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.4.3...3.25 FATAL_ERROR)
list(APPEND HIDAPI_PUBLIC_HEADERS "hidapi_darwin.h")

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.6.3...3.25 FATAL_ERROR)
add_library(hidapi_netbsd
${HIDAPI_PUBLIC_HEADERS}

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.1.3...3.25 FATAL_ERROR)
project(hidapi LANGUAGES C)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/root")