Skip to content

Commit

Permalink
Ceres exposes a namespaced export and recommends it in their docs
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Jun 26, 2023
1 parent 80d342f commit b137724
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 b137724

Please sign in to comment.