From d310f58ac7da9ac3cbc44b6cb0c1fbe8f369c079 Mon Sep 17 00:00:00 2001 From: Bilal Kahraman Date: Mon, 26 Aug 2024 23:22:47 +0300 Subject: [PATCH] fix targets --- planning/grid_base/astar/CMakeLists.txt | 7 +++++++ planning/utility/CMakeLists.txt | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/planning/grid_base/astar/CMakeLists.txt b/planning/grid_base/astar/CMakeLists.txt index f24e51e..36a86fc 100644 --- a/planning/grid_base/astar/CMakeLists.txt +++ b/planning/grid_base/astar/CMakeLists.txt @@ -5,6 +5,13 @@ add_library( ) target_include_directories( + astar + PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR} + ${PROJECT_SOURCE_DIR}/planning +) + +target_link_directories( astar PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/planning/utility/CMakeLists.txt b/planning/utility/CMakeLists.txt index 7ee6ddc..ae3071f 100644 --- a/planning/utility/CMakeLists.txt +++ b/planning/utility/CMakeLists.txt @@ -22,6 +22,12 @@ target_include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) +target_link_libraries( + common_grid_base + PUBLIC + common_planning +) + add_library( common_tree_base SHARED @@ -32,4 +38,10 @@ target_include_directories( common_tree_base PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} +) + +target_link_libraries( + common_tree_base + PUBLIC + common_planning ) \ No newline at end of file