diff options
Diffstat (limited to 'libusb/CMakeLists.txt')
-rw-r--r-- | libusb/CMakeLists.txt | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/libusb/CMakeLists.txt b/libusb/CMakeLists.txt index 6c25703..e1a9284 100644 --- a/libusb/CMakeLists.txt +++ b/libusb/CMakeLists.txt @@ -4,20 +4,7 @@ # 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_include_directories(libusb SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include) - -add_custom_command( - OUTPUT ${CMAKE_SOURCE_DIR}/3rd-party/MS-LCID.pdf - ${CMAKE_SOURCE_DIR}/3rd-party/MS-LCID.txt - ${CMAKE_CURRENT_SOURCE_DIR}/include/libusb/tusb_helpers.h - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/include/libusb/tusb_helpers.gen - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/include/libusb/tusb_helpers.gen -) -# add_dependencies(generate -# ${CMAKE_SOURCE_DIR}/3rd-party/MS-LCID.pdf -# ${CMAKE_SOURCE_DIR}/3rd-party/MS-LCID.txt -# ${CMAKE_CURRENT_SOURCE_DIR}/include/libusb/tusb_helpers.h -# ) |