mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-05 05:24:42 +00:00
Updated hidapi to 0.14.0 release
Upstream: https://github.com/libusb/hidapi/releases/tag/hidapi-0.14.0
This commit is contained in:
2
src/hidapi/subprojects/README.md
Normal file
2
src/hidapi/subprojects/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
This folder is used only to support [meson.build](../meson.build) `subproject` command
|
||||
which would only look for a subproject in a "subprojects" directory.
|
||||
10
src/hidapi/subprojects/hidapi_build_cmake/CMakeLists.txt
Normal file
10
src/hidapi/subprojects/hidapi_build_cmake/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
|
||||
project(hidapi LANGUAGES C)
|
||||
|
||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/root")
|
||||
|
||||
foreach(ROOT_ELEMENT CMakeLists.txt hidapi src windows linux mac libusb pc VERSION)
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/../../${ROOT_ELEMENT}" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/root/")
|
||||
endforeach()
|
||||
|
||||
add_subdirectory("${CMAKE_CURRENT_BINARY_DIR}/root" hidapi_root)
|
||||
Reference in New Issue
Block a user