From b40c161a57b53545326622ef6deab3c5927810ac Mon Sep 17 00:00:00 2001 From: Takumi Ito Date: Wed, 17 Jan 2024 13:51:38 +0900 Subject: [PATCH] tmp Signed-off-by: Takumi Ito --- planning/freespace_planning_algorithms/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/planning/freespace_planning_algorithms/CMakeLists.txt b/planning/freespace_planning_algorithms/CMakeLists.txt index f2671abd621f7..1288254ec1d15 100644 --- a/planning/freespace_planning_algorithms/CMakeLists.txt +++ b/planning/freespace_planning_algorithms/CMakeLists.txt @@ -58,11 +58,13 @@ find_package(Python3 REQUIRED COMPONENTS Interpreter Development) # find_package(pybind11 REQUIRED) add_subdirectory(pybind11) -pybind11_add_module(freespace_planning_algorithms_python scripts/module/astar_search_python.cpp) +pybind11_add_module(freespace_planning_algorithms_python SHARED + scripts/module/astar_search_python.cpp +) -# include_directories(freespace_planning_algorithms_python -# include/ -# ) +include_directories(freespace_planning_algorithms_python PRIVATE + include/ +) target_link_libraries(freespace_planning_algorithms_python PRIVATE freespace_planning_algorithms ) \ No newline at end of file