Commit cb38ea6f authored by Ludovic Hussonnois's avatar Ludovic Hussonnois

ENH: Mantis-1355 : Apply patch to set OTB_APPLICATION_PATH environment...

ENH: Mantis-1355 : Apply patch to set OTB_APPLICATION_PATH environment variable in monteverdi desktop file
parent 4cbefa80
......@@ -42,7 +42,8 @@ if (UNIX AND NOT APPLE)
# -------------------------
# Install freedesktop entry
install(FILES ${OTBMonteverdiGUI_DATA_DIR}/monteverdi.desktop
configure_file(${OTBMonteverdiGUI_DATA_DIR}/monteverdi.desktop.in ${CMAKE_BINARY_DIR}/monteverdi.desktop)
install(FILES ${CMAKE_BINARY_DIR}/monteverdi.desktop
DESTINATION share/applications)
endif()
......
......@@ -4,8 +4,8 @@ Name=Monteverdi
Name[fr_FR]=Monteverdi
GenericName=Image processing
Comment=Remote sensing image processing application based on OrfeoToolbox
TryExec=/usr/bin/monteverdi
Exec=/usr/bin/monteverdi %F
TryExec=@CMAKE_INSTALL_PREFIX@/bin/monteverdi
Exec=env OTB_APPLICATION_PATH=@CMAKE_INSTALL_PREFIX@/@OTB_INSTALL_APP_DIR@ @CMAKE_INSTALL_PREFIX@/bin/monteverdi %F
Terminal=false
StartupNotify=false
Icon=monteverdi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment