From 3517a245ffd855b76f179a6a0ffd7edaf5fb0cab Mon Sep 17 00:00:00 2001 From: Guillaume Sarthou Date: Sat, 2 Dec 2023 19:05:17 +0100 Subject: [PATCH] [CMakeLists] remove operators from ontologenius_interfacelib --- CMakeLists.txt | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1547f33d..aa1ad146 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -278,6 +278,17 @@ target_link_libraries(ontologenius_reasoner_plugin ontologenius_core_lib ${pluginlib_LIBRARIES} ) +add_onto_base_library(ontologenius_operators + src/core/ontologyOperators/differenceFinder.cpp + src/core/ontologyOperators/Sparql.cpp + src/core/ontologyOperators/SparqlSolver.cpp + src/core/ontologyOperators/SparqlUtils.cpp +) +target_link_libraries(ontologenius_operators + PUBLIC + ontologenius_core_lib +) + ############################## ## INTERFACE ############################## @@ -286,14 +297,10 @@ add_onto_library(ontologenius_interface src/interface/RosInterface.cpp src/interface/RosInterfaceStringHandlers.cpp src/interface/RosInterfaceIndexHandlers.cpp - src/core/ontologyOperators/differenceFinder.cpp - src/core/ontologyOperators/Sparql.cpp - src/core/ontologyOperators/SparqlSolver.cpp - src/core/ontologyOperators/SparqlUtils.cpp ) target_link_libraries(ontologenius_interface PUBLIC - ontologenius_core_lib + ontologenius_core_lib ontologenius_operators ) ##############################