Skip to content

Commit

Permalink
Remove GZ_SIM_PLUGIN_INSTALL_DIR macro
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero committed Dec 19, 2024
1 parent 18596a2 commit 952f598
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ release will remove the deprecated code.
+ The macro `GZ_SIM_SERVER_CONFIG_PATH` has been removed.
Please use `gz::sim::getServerConfigPath()` instead.

+ The macro `GZ_SIM_PLUGIN_INSTALL_DIR` has been removed.
Please use `gz::sim::getPluginInstallDir()` instead.

+ The macro `GZ_SIM_GUI_PLUGIN_INSTALL_DIR` has been removed.
Please use `gz::sim::getGUIPluginInstallDir()` instead.

Expand Down
1 change: 0 additions & 1 deletion include/gz/sim/config.hh.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

#define GZ_SIM_VERSION_HEADER "Gazebo Sim, version ${PROJECT_VERSION_FULL}\nCopyright (C) 2018 Open Source Robotics Foundation.\nReleased under the Apache 2.0 License.\n\n"

#define GZ_SIM_PLUGIN_INSTALL_DIR _Pragma ("GCC warning \"'GZ_SIM_PLUGIN_INSTALL_DIR' macro is deprecated, use gz::sim::getPluginInstallDir() function instead. \"") "${CMAKE_INSTALL_PREFIX}/${GZ_LIB_INSTALL_DIR}/gz-${GZ_DESIGNATION}-${PROJECT_VERSION_MAJOR}/plugins"
#define GZ_DISTRIBUTION "${GZ_DISTRIBUTION}"

#endif

0 comments on commit 952f598

Please sign in to comment.