From 20e91adc63183741fc14a8dff02bb4e464ce0656 Mon Sep 17 00:00:00 2001 From: Sascha Arnold Date: Mon, 4 Jan 2021 21:40:11 +0100 Subject: [PATCH] use latest release of the backward-cpp library --- manifest.xml | 2 +- src/CMakeLists.txt | 6 +++++- src/Spawner.cpp | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/manifest.xml b/manifest.xml index 3282231..595b092 100644 --- a/manifest.xml +++ b/manifest.xml @@ -11,7 +11,7 @@ - + diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f90631d..ea0978c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -35,11 +35,15 @@ rock_library(orocos_cpp orocos-rtt-corba-${OROCOS_TARGET} typelib lib_config - backward DEPS_PLAIN Boost_SYSTEM Boost_FILESYSTEM Boost_REGEX Boost_THREAD ) +find_package(Backward) +if(Backward_FOUND) + target_link_libraries(orocos_cpp PUBLIC Backward::Backward) +endif() + rock_executable(listAll Main.cpp DEPS orocos_cpp NOINSTALL) diff --git a/src/Spawner.cpp b/src/Spawner.cpp index 2965644..7639bbb 100644 --- a/src/Spawner.cpp +++ b/src/Spawner.cpp @@ -16,7 +16,7 @@ #include "CorbaNameService.hpp" #include #include -#include +#include #include using namespace orocos_cpp;