diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-27 19:00:18 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-27 19:00:18 -0600 |
commit | d54ddec236bf9bdb8c032cd5fbdb0aa46ffebe86 (patch) | |
tree | b2a4563347f4b91d276f174303e0a7b81c525b34 /libusb/CMakeLists.txt | |
parent | b1fc106b5294d162415ff715c6dece11945efdb2 (diff) |
use GNU Make for `generate`
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 -# ) |