From 39bcf53062522f6f4a5f3962b48974cab5786078 Mon Sep 17 00:00:00 2001 From: Augustin Manecy Date: Tue, 9 Nov 2021 22:49:08 +0100 Subject: [PATCH] try fix catkin_int for gitlab ci --- CMakeLists.txt | 4 +++- package.xml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fdfb8ef..39c6cee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,9 @@ set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake" # Find catkin find_package(catkin REQUIRED) -find_package(Boost REQUIRED) +if(CATKIN_ENABLE_TESTING) + find_package(Boost REQUIRED) +endif() if(APPLE) find_library(IOKIT_LIBRARY IOKit) diff --git a/package.xml b/package.xml index 5c0de92..27781e1 100644 --- a/package.xml +++ b/package.xml @@ -21,6 +21,6 @@ catkin - Boost + boost