From 03defd5762cf0531d92f849bec842529d0f8789c Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sat, 9 Nov 2024 16:27:25 +0100 Subject: [PATCH] Changes to support BlockFactory 1.0.0 --- toolbox/CMakeLists.txt | 2 +- toolbox/library/src/Factory.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toolbox/CMakeLists.txt b/toolbox/CMakeLists.txt index 3511c1125..36c5eddb7 100644 --- a/toolbox/CMakeLists.txt +++ b/toolbox/CMakeLists.txt @@ -2,7 +2,7 @@ # This software may be modified and distributed under the terms of the # GNU Lesser General Public License v2.1 or any later version. -find_package(shlibpp REQUIRED) +find_package(sharedlibpp REQUIRED) find_package(BlockFactory COMPONENTS Core REQUIRED) add_subdirectory(base) diff --git a/toolbox/library/src/Factory.cpp b/toolbox/library/src/Factory.cpp index 15cafaee1..f4ed944c7 100644 --- a/toolbox/library/src/Factory.cpp +++ b/toolbox/library/src/Factory.cpp @@ -49,7 +49,7 @@ #include // Class factory API -#include "shlibpp/SharedLibraryClassApi.h" +#include "sharedlibpp/SharedLibraryClassApi.h" // YARP-dependent blocks SHLIBPP_DEFINE_SHARED_SUBCLASS(GetLimits, wbt::block::GetLimits, blockfactory::core::Block)