Skip to content

Commit

Permalink
Expose USB headers include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
rjonaitis committed Feb 9, 2024
1 parent 4e62b9a commit 7987630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/comms/USB/FT601/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ set(CONNECTION_FT601_SOURCES
${CMAKE_CURRENT_LIST_DIR}/USBTransferContext_FT601.cpp
)

target_include_directories(${MAIN_LIBRARY_NAME} PRIVATE ${FTDI_INCLUDE_DIRS} ${THIS_SOURCE_DIR})
target_include_directories(${MAIN_LIBRARY_NAME} PUBLIC ${FTDI_INCLUDE_DIRS} ${THIS_SOURCE_DIR})
target_sources(${MAIN_LIBRARY_NAME} PRIVATE ${CONNECTION_FT601_SOURCES})
target_link_libraries(${MAIN_LIBRARY_NAME} PUBLIC ${FTDI_LIBRARIES})
2 changes: 1 addition & 1 deletion src/comms/USB/FX3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ set(CONNECTION_FX3_SOURCES
${CMAKE_CURRENT_LIST_DIR}/USBTransferContext_FX3.cpp
)

target_include_directories(${MAIN_LIBRARY_NAME} PRIVATE ${FX3_INCLUDE_DIRS} ${THIS_SOURCE_DIR})
target_include_directories(${MAIN_LIBRARY_NAME} PUBLIC ${FX3_INCLUDE_DIRS} ${THIS_SOURCE_DIR})
target_sources(${MAIN_LIBRARY_NAME} PRIVATE ${CONNECTION_FX3_SOURCES})
target_link_libraries(${MAIN_LIBRARY_NAME} PUBLIC ${FX3_LIBRARIES})

0 comments on commit 7987630

Please sign in to comment.