Skip to content

Commit

Permalink
Adds explicit linking of serial library to motor_driver_demo app. (#157)
Browse files Browse the repository at this point in the history
Signed-off-by: Franco Cipollone <[email protected]>
  • Loading branch information
francocipollone authored Sep 28, 2023
1 parent c142691 commit 66fd464
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions andino_base/applications/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ target_include_directories(motor_driver_demo
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)

# Reference: See libserial example project for integration with CMake
target_include_directories(motor_driver_demo PUBLIC ${SERIAL_INCLUDE_DIRS})

target_link_libraries(motor_driver_demo
PUBLIC
gflags
motor_driver
${SERIAL_LDFLAGS}
)

install(
Expand Down

0 comments on commit 66fd464

Please sign in to comment.