From 0ad17575a262c132ae60372b65cbfb15acdb29d0 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Wed, 11 Jul 2018 14:08:09 -0700 Subject: [PATCH] remove use of uninitialized CMake var (#512) --- rclcpp/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rclcpp/CMakeLists.txt b/rclcpp/CMakeLists.txt index 2ad3674..10fe1da 100644 --- a/rclcpp/CMakeLists.txt +++ b/rclcpp/CMakeLists.txt @@ -247,8 +247,7 @@ if(BUILD_TESTING) ) target_link_libraries(test_publisher ${PROJECT_NAME}) endif() - ament_add_gtest(test_rate test/test_rate.cpp - ENV RCL_ASSERT_RMW_ID_MATCHES=${rmw_implementation}) + ament_add_gtest(test_rate test/test_rate.cpp) if(TARGET test_rate) target_include_directories(test_rate PUBLIC ${rcl_interfaces_INCLUDE_DIRS} @@ -260,8 +259,7 @@ if(BUILD_TESTING) ${PROJECT_NAME} ) endif() - ament_add_gtest(test_serialized_message_allocator test/test_serialized_message_allocator.cpp - ENV RCL_ASSERT_RMW_ID_MATCHES=${rmw_implementation}) + ament_add_gtest(test_serialized_message_allocator test/test_serialized_message_allocator.cpp) if(TARGET test_serialized_message_allocator) target_include_directories(test_serialized_message_allocator PUBLIC ${test_msgs_INCLUDE_DIRS}