Skip to content

Commit

Permalink
Update CMake configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocandre committed Oct 2, 2024
1 parent 86b0e27 commit 24964b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/cpp_utilsConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/cpp_utilsTargets.cmake)
# storage_INCLUDE_DIRS and storage_LIBRARIES need to be defined.
# Otherwise catkin_package() would generate a warning complaining about it.
set_and_check(cpp_utils_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@")
set(cpp_utils_LIBRARIES ${PROJECT_NAME}::${PROJECT_NAME})
set(cpp_utils_LIBRARIES cpp_utils::cpp_utils)

# Dependency forwarding
# Required to avoid explicitly finding dependencies on 3rd party packages
Expand Down
3 changes: 2 additions & 1 deletion include/extra/plotting.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ long plot(const Y& y, const X& x = {}, const std::string& name = "", const std::
}


void plot(const motion::Primitive& primitive, const std::vector< double >& phase) {
// @todo remove this (?)
inline void plot(const motion::Primitive& primitive, const std::vector< double >& phase) {
std::matrix< double > ys(primitive.size(), phase.size());
for (size_t p = 0; p < phase.size(); p++) {
for (size_t b = 0; b < primitive.size(); b++) {
Expand Down

0 comments on commit 24964b8

Please sign in to comment.