Skip to content

Commit

Permalink
build(osqp_interface): use ${PROJECT_NAME} for autoware_osqp_interfac…
Browse files Browse the repository at this point in the history
…e targets

Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Jan 15, 2024
1 parent 75cdcfe commit 93a7305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/osqp_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ ament_auto_add_library(${PROJECT_NAME} SHARED
)
target_compile_options(${PROJECT_NAME} PRIVATE -Wno-error=old-style-cast -Wno-error=useless-cast)

target_include_directories(osqp_interface
target_include_directories(${PROJECT_NAME}
SYSTEM PUBLIC
"${OSQP_INCLUDE_DIR}"
"${EIGEN3_INCLUDE_DIR}"
)

ament_target_dependencies(osqp_interface
ament_target_dependencies(${PROJECT_NAME}
Eigen3
osqp_vendor
)
Expand Down

0 comments on commit 93a7305

Please sign in to comment.