Skip to content

Commit

Permalink
Ceres exposes a namespaced export and recommends it in their docs (ro…
Browse files Browse the repository at this point in the history
…s-navigation#3652)

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Signed-off-by: enricosutera <enricosutera@outlook.com>
  • Loading branch information
Ryanf55 authored and enricosutera committed May 19, 2024
1 parent 84b8a7b commit 1b8ba94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nav2_constrained_smoother/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(library_name nav2_constrained_smoother)

include_directories(
include
${CERES_INCLUDES}
)

set(dependencies
Expand All @@ -42,7 +41,7 @@ set(dependencies
)

add_library(${library_name} SHARED src/constrained_smoother.cpp)
target_link_libraries(${library_name} ${CERES_LIBRARIES})
target_link_libraries(${library_name} Ceres::ceres)
# prevent pluginlib from using boost
target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")
ament_target_dependencies(${library_name} ${dependencies})
Expand Down

0 comments on commit 1b8ba94

Please sign in to comment.