Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
KiselevIlia committed Mar 29, 2024
1 parent 777edda commit 1ff438f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 61 deletions.
12 changes: 1 addition & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ find_package(MAVLink)

find_package(Protobuf REQUIRED)

#Generate messages files for collision plugin
PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS msgs/CollisionObject.proto)

#Generate messages files for groundtruth plugin
PROTOBUF_GENERATE_CPP(GT_PROTO_SRCS GT_PROTO_HDRS msgs/Groundtruth.proto)

include_directories(${CMAKE_BINARY_DIR})

include_directories(
Expand Down Expand Up @@ -87,9 +81,5 @@ target_link_libraries(collision_plugin
add_library(groundtruth_plugin SHARED src/groundtruth_plugin.cpp)
target_link_libraries(groundtruth_plugin
PRIVATE gz-sim${GAZEBO_VERSION}::gz-sim${GAZEBO_VERSION}
PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER}
PRIVATE gz-msgs10::gz-msgs10
PRIVATE ${GZ_CUSTOM_MSGS}
)
# ln -s ./libgroundtruth_plugin.so /usr/lib/x86_64-linux-gnu/gz-sim-8/plugins
# ln -s ./libcollision_plugin.so /usr/lib/x86_64-linux-gnu/gz-sim-8/plugins
)
50 changes: 0 additions & 50 deletions msgs/Groundtruth.proto

This file was deleted.

0 comments on commit 1ff438f

Please sign in to comment.