From 191b13bc2eb8578e40799eb6b50c74b885e7066e Mon Sep 17 00:00:00 2001 From: Chen Lihui Date: Fri, 15 Jul 2022 20:13:21 +0800 Subject: [PATCH] remove duplicate packages in find_package and reorder (#994) Signed-off-by: Chen Lihui --- rcl/test/CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/rcl/test/CMakeLists.txt b/rcl/test/CMakeLists.txt index a9969f579..0292affa9 100644 --- a/rcl/test/CMakeLists.txt +++ b/rcl/test/CMakeLists.txt @@ -1,16 +1,12 @@ find_package(ament_cmake_gtest REQUIRED) -find_package(launch_testing_ament_cmake REQUIRED) - -find_package(mimick_vendor REQUIRED) -find_package(test_msgs REQUIRED) +find_package(launch_testing_ament_cmake REQUIRED) find_package(mimick_vendor REQUIRED) - +find_package(osrf_testing_tools_cpp REQUIRED) find_package(rcpputils REQUIRED) find_package(rcutils REQUIRED) find_package(rmw_implementation_cmake REQUIRED) - -find_package(osrf_testing_tools_cpp REQUIRED) +find_package(test_msgs REQUIRED) get_target_property(memory_tools_ld_preload_env_var osrf_testing_tools_cpp::memory_tools LIBRARY_PRELOAD_ENVIRONMENT_VARIABLE)