# libusb/CMakeLists.txt - Build script for libusb support library # # Copyright (C) 2024 Luke T. Shumaker # SPDX-Licence-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 )