File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -861,5 +861,10 @@ if(UNIX AND NOT APPLE)
861861 install (DIRECTORY ${CMAKE_SOURCE_DIR } /files DESTINATION share/APMPlanner2)
862862 install (DIRECTORY ${CMAKE_SOURCE_DIR } /data DESTINATION share/APMPlanner2)
863863 install (DIRECTORY ${CMAKE_SOURCE_DIR } /qml DESTINATION share/APMPlanner2)
864+ configure_file (
865+ ${CMAKE_SOURCE_DIR } /common/apmplanner2.desktop.in
866+ ${CMAKE_SOURCE_DIR } /common/apmplanner2.desktop
867+ @ONLY
868+ )
864869 install (FILES ${CMAKE_SOURCE_DIR } /common/apmplanner2.desktop DESTINATION share/applications)
865870endif ()
Original file line number Diff line number Diff line change 22Type =Application
33Name =APM Planner 2
44GenericName =apmplanner2
5- Exec =/usr /bin/apmplanner2
5+ Exec =@CMAKE_INSTALL_PREFIX@ /bin/apmplanner2
66Terminal =false
77Categories =Education;Robotics;
88Comment =An open-source ground station application for MAVlink based autopilots
9- Icon =/usr /share/APMPlanner2/files/APMIcons/ap_rc.png
9+ Icon =@CMAKE_INSTALL_PREFIX@ /share/APMPlanner2/files/APMIcons/ap_rc.png
1010
You can’t perform that action at this time.
0 commit comments