summaryrefslogtreecommitdiff
path: root/libusb/CMakeLists.txt
blob: c23f30e03141cae562a23b384fa490a669b140f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# libusb/CMakeLists.txt - Build script for libusb support library
#
# Copyright (C) 2024  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-License-Identifier: AGPL-3.0-or-later

add_library(libusb INTERFACE)
target_include_directories(libusb SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
target_sources(libusb INTERFACE
	usb_common.c
)
target_link_libraries(libusb INTERFACE
	pico_unique_id
	tinyusb_device
	tinyusb_board

	libcr_ipc
	libmisc
)