Commit 479ebf65 authored by Ben Boeckel's avatar Ben Boeckel

paraview: install a .desktop file on *nix

This is used to provide menu entries on *nix desktop environments.

Change-Id: Iceddb283572efe8b998d960072991db626d6033e
parent 781aa0e1
......@@ -152,4 +152,13 @@ elseif (APPLE AND PARAVIEW_DO_UNIX_STYLE_INSTALLS)
\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${VTK_INSTALL_RUNTIME_DIR})
"
COMPONENT Runtime)
elseif (UNIX)
configure_file(
paraview.desktop.in
"${CMAKE_CURRENT_BINARY_DIR}/paraview.desktop"
@ONLY)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/paraview.desktop"
DESTINATION share/applications
COMPONENT runtime)
endif()
[Desktop Entry]
Version=@PARAVIEW_VERSION_FULL@
Type=Application
Name=ParaView
Comment=Parallel visualization application
TryExec=paraview
Icon=paraview
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