Skip to content

Commit

Permalink
fix: resolve no executable found for awviz (#40)
Browse files Browse the repository at this point in the history
Signed-off-by: ktro2828 <[email protected]>
  • Loading branch information
ktro2828 authored Aug 16, 2024
1 parent 6304214 commit 85bde68
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions awviz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ ament_auto_find_build_dependencies()
add_executable(${PROJECT_NAME} src/main.cpp)
target_link_libraries(${PROJECT_NAME} awviz_common::awviz_common)

# -------- install executable --------
install(TARGETS ${PROJECT_NAME}
DESTINATION bin
)

install(TARGETS ${PROJECT_NAME}
DESTINATION lib/${PROJECT_NAME}
)

# -------- for testing --------
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
Expand Down

0 comments on commit 85bde68

Please sign in to comment.