Skip to content

Commit

Permalink
gate test with ENABLE_TESTING
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Sep 22, 2024
1 parent 4e34d26 commit b303d76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rosatomic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ catkin_package(
LIBRARIES # TODO
)
include_directories(include ${catkin_INCLUDE_DIRS})
catkin_add_gtest(utest test/utest.cpp)

if(CATKIN_ENABLE_TESTING)
catkin_add_gtest(utest test/utest.cpp)
endif()


install(DIRECTORY include/ros include/boost DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION})
Expand Down

0 comments on commit b303d76

Please sign in to comment.