Skip to content

Commit

Permalink
install libNatNet.so as part of package
Browse files Browse the repository at this point in the history
Fixes #14
  • Loading branch information
whoenig committed Mar 5, 2024
1 parent ae389ee commit 7ae0390
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions motion_capture_tracking/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

set(CMAKE_INSTALL_RPATH "$ORIGIN")

# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
Expand Down Expand Up @@ -68,6 +70,11 @@ target_compile_features(motion_capture_tracking_node PUBLIC c_std_99 cxx_std_17)
install(TARGETS motion_capture_tracking_node
DESTINATION lib/${PROJECT_NAME})

install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/deps/libmotioncapture/deps/NatNetSDKCrossplatform/lib/ubuntu/libNatNet.so
DESTINATION lib/${PROJECT_NAME}
)

# if(BUILD_TESTING)
# find_package(ament_lint_auto REQUIRED)
# # the following line skips the linter which checks for copyrights
Expand Down

0 comments on commit 7ae0390

Please sign in to comment.