Skip to content

Commit

Permalink
Fix champ_gazebo compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
h33p authored Jun 16, 2022
1 parent b56da36 commit 88f1dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions champ_gazebo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ include_directories(
)

link_directories(${GAZEBO_LIBRARY_DIRS} ${catkin_LIBRARIES})
list(APPEND CMAKE_CXX_FLAGS "${GAZEBO_CXX_FLAGS}")
add_compile_options("${GAZEBO_CXX_FLAGS}")

add_executable(contact_sensor src/contact_sensor.cpp)
target_link_libraries(contact_sensor ${GAZEBO_LIBRARIES} pthread ${catkin_LIBRARIES} )
Expand All @@ -56,4 +56,4 @@ install(DIRECTORY launch config

install(DIRECTORY worlds/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/worlds
)
)

0 comments on commit 88f1dcf

Please sign in to comment.