Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use --force-version in desktop launcher to support multiple versions
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
j-rivero committed Mar 31, 2022
1 parent 616d28a commit 5723a33
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ find_package(ignition-cmake2 2.8.0 REQUIRED)
#============================================================================
# Configure the project
#============================================================================
ign_configure_project(VERSION_SUFFIX pre1)
ign_configure_project(VERSION_SUFFIX pre2)

#============================================================================
# Set project-specific options
@@ -172,6 +172,7 @@ ign_create_packages()
#============================================================================
configure_file(${CMAKE_SOURCE_DIR}/api.md.in ${CMAKE_BINARY_DIR}/api.md)
configure_file(${CMAKE_SOURCE_DIR}/tutorials.md.in ${CMAKE_BINARY_DIR}/tutorials.md)
configure_file(${CMAKE_SOURCE_DIR}/tools/desktop/ignition-gazebo.desktop.in ${CMAKE_BINARY_DIR}/ignition-gazebo.desktop)

# disable doxygen on macOS due to issues with doxygen 1.9.0
# there is an unreleased fix; revert this when 1.9.1 is released
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Igniton Gazebo
Name=Igniton Gazebo@PROJECT_VERSION_MAJOR@
Comment=3D Robot Simulator
Exec=/usr/bin/ign gazebo
Exec=/usr/bin/ign gazebo --force-version @PROJECT_VERSION_MAJOR@
Icon=ignition-gazebo
Categories=Education;Science;Robotics;Development;
StartupNotify=true

0 comments on commit 5723a33

Please sign in to comment.