Skip to content

Commit

Permalink
Documentation build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DominykasPetke committed Mar 25, 2024
1 parent 4607c13 commit 28b2971
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions src/comms/USB/FT601/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ elseif(UNIX)
endif()

target_link_libraries(${MAIN_LIBRARY_NAME} PUBLIC usb-1.0)
target_include_directories(${MAIN_LIBRARY_NAME} PUBLIC
$<BUILD_INTERFACE:${LIBUSB_1_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include>
)

if(LIBUSB_1_INCLUDE_DIR)
target_include_directories(${MAIN_LIBRARY_NAME} PUBLIC
$<BUILD_INTERFACE:${LIBUSB_1_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include>
)
endif()
endif()

include(FeatureSummary)
Expand Down
11 changes: 7 additions & 4 deletions src/comms/USB/FX3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ elseif(UNIX)
endif()

target_link_libraries(${MAIN_LIBRARY_NAME} PUBLIC usb-1.0)
target_include_directories(${MAIN_LIBRARY_NAME} PUBLIC
$<BUILD_INTERFACE:${LIBUSB_1_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include>
)

if(LIBUSB_1_INCLUDE_DIR)
target_include_directories(${MAIN_LIBRARY_NAME} PUBLIC
$<BUILD_INTERFACE:${LIBUSB_1_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include>
)
endif()
endif()

include(FeatureSummary)
Expand Down

0 comments on commit 28b2971

Please sign in to comment.