From 3f3b1a99f893cfd86779813de8605cbd82104e02 Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Wed, 13 Oct 2021 13:01:38 +0200 Subject: [PATCH] Minor edit --- scenario/bindings/core/CMakeLists.txt | 3 ++- scenario/bindings/gazebo/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scenario/bindings/core/CMakeLists.txt b/scenario/bindings/core/CMakeLists.txt index d6f2a6f57..aeb65a075 100644 --- a/scenario/bindings/core/CMakeLists.txt +++ b/scenario/bindings/core/CMakeLists.txt @@ -16,7 +16,8 @@ swig_add_library(${scenario_swig_name} SOURCES ${scenario_swig_name}.i) add_library(ScenarioSwig::Core ALIAS core) -target_link_libraries(${scenario_swig_name} PUBLIC +target_link_libraries(${scenario_swig_name} + PUBLIC ScenarioCore::ScenarioABC ScenarioCore::CoreUtils Python3::Python) diff --git a/scenario/bindings/gazebo/CMakeLists.txt b/scenario/bindings/gazebo/CMakeLists.txt index f4b809781..cee73a5d0 100644 --- a/scenario/bindings/gazebo/CMakeLists.txt +++ b/scenario/bindings/gazebo/CMakeLists.txt @@ -14,13 +14,13 @@ swig_add_library(${scenario_swig_name} OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/../scenario/bindings OUTFILE_DIR ${CMAKE_CURRENT_BINARY_DIR}/.. SOURCES ${scenario_swig_name}.i) +add_library(ScenarioSwig::Gazebo ALIAS gazebo) target_link_libraries(${scenario_swig_name} PUBLIC ScenarioGazebo::ScenarioGazebo ScenarioGazebo::GazeboSimulator Python3::Python) -add_library(ScenarioSwig::Gazebo ALIAS gazebo) set_property(TARGET ${scenario_swig_name} PROPERTY SWIG_USE_TARGET_INCLUDE_DIRECTORIES TRUE)