From dbb8cf5802865a7f858057133db69a485f580f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven!=20Ragnar=C3=B6k?= Date: Wed, 5 Dec 2018 14:13:58 -0500 Subject: [PATCH 1/2] Fix typo in package name. --- package.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.xml b/package.xml index a3ae309fd..dcdc1678b 100644 --- a/package.xml +++ b/package.xml @@ -16,7 +16,7 @@ libzmq3-dev libzmq3-dev - ament_cmake_gest + ament_cmake_gtest ament_cmake From 695ad836f6456f25d9b3bb5c8e45d402a6b576d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven!=20Ragnar=C3=B6k?= Date: Wed, 5 Dec 2018 12:58:11 -0800 Subject: [PATCH 2/2] Remove extra find_package(ament_cmake_gtest). This package should only be needed if BUILD_TESTING is on and is find_package'd below if ament_cmake is found and BUILD_TESTING is on. --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c047de3a..5333578f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,8 +44,6 @@ endif() find_package(ament_cmake QUIET) if ( ament_cmake_FOUND ) - find_package(ament_cmake_gtest REQUIRED) - # Not adding -DUSING_ROS since xml_parsing.cpp hasn't been ported to ROS2 message(STATUS "------------------------------------------")