Skip to content

Commit

Permalink
update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Jan 2, 2025
1 parent 52f53b1 commit 356d87e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ find_package(ament_cmake REQUIRED)
foreach(Dependency IN ITEMS ${THIS_PACKAGE_INCLUDE_DEPENDS})
find_package(${Dependency} REQUIRED)
endforeach()
find_package(Boost REQUIRED)

add_library(realtime_tools SHARED
src/realtime_clock.cpp
Expand Down Expand Up @@ -75,7 +76,7 @@ if(BUILD_TESTING)
target_link_libraries(realtime_buffer_tests realtime_tools)

ament_add_gmock(lock_free_queue_tests test/lock_free_queue_tests.cpp)
target_link_libraries(lock_free_queue_tests realtime_tools)
target_link_libraries(lock_free_queue_tests realtime_tools atomic)

ament_add_gmock(realtime_clock_tests test/realtime_clock_tests.cpp)
target_link_libraries(realtime_clock_tests realtime_tools)
Expand Down

0 comments on commit 356d87e

Please sign in to comment.