Skip to content

Commit

Permalink
Use the messages from gz-sim
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jul 28, 2023
1 parent 76b4ba6 commit bff77e9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,15 @@ else()
endif()
set(GZ_TOOLS_VER 2)

#--------------------------------------
# Find gz-fuel-tools
gz_find_package(gz-fuel_tools9-msgs REQUIRED)
gz_find_package(gz-fuel_tools9 REQUIRED)
set(GZ_FUEL_TOOLS_VER ${gz-fuel_tools9_VERSION_MAJOR})

#--------------------------------------
# Find gz-transport
gz_find_package(gz-transport13-msgs REQUIRED)
gz_find_package(gz-transport13 REQUIRED)
set(GZ_TRANSPORT_VER ${gz-transport13_VERSION_MAJOR})

Expand All @@ -76,6 +83,7 @@ set(GZ_MATH_VER ${gz-math7_VERSION_MAJOR})

#--------------------------------------
# Find gz-gui
gz_find_package(gz-gui8-msgs)
gz_find_package(gz-gui8 REQUIRED)
set(GZ_GUI_VER ${gz-gui8_VERSION_MAJOR})
gz_find_package (Qt5
Expand All @@ -88,6 +96,7 @@ gz_find_package (Qt5

#--------------------------------------
# Find gz-sim
gz_find_package(gz-sim8-msgs)
gz_find_package(gz-sim8 REQUIRED PRIVATE COMPONENTS gui)
set(GZ_SIM_VER ${gz-sim8_VERSION_MAJOR})

Expand Down
1 change: 1 addition & 0 deletions plugins/joystick/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target_link_libraries(${plugin}
gz-math${GZ_MATH_VER}::gz-math${GZ_MATH_VER}
gz-transport${GZ_TRANSPORT_VER}::core
gz-plugin${GZ_PLUGIN_VER}::core
gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER}-msgs
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
1 change: 1 addition & 0 deletions plugins/websocket_server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (websockets_FOUND)
gz-msgs${GZ_MSGS_VER}::core
gz-plugin${GZ_PLUGIN_VER}::core
gz-transport${GZ_TRANSPORT_VER}::core
gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER}-msgs
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
Expand Down

0 comments on commit bff77e9

Please sign in to comment.