Commit ac3f0dff authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot
Browse files

Merge topic 'mac-icon' into release

f4906e0e

 macos: fix icon path in Info.plist file
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !3486
parents a658066c f4906e0e
......@@ -362,9 +362,10 @@ IDI_ICON1 ICON \"${_paraview_client_APPLICATION_ICON}\"\n")
if (APPLE)
if (DEFINED _paraview_client_BUNDLE_ICON)
get_filename_component(_paraview_client_bundle_icon_file "${_paraview_client_BUNDLE_ICON}" NAME)
set_property(TARGET "${_paraview_client_NAME}"
PROPERTY
MACOSX_BUNDLE_ICON_FILE "${_paraview_client_BUNDLE_ICON}")
MACOSX_BUNDLE_ICON_FILE "${_paraview_client_bundle_icon_file}")
install(
FILES "${_paraview_client_BUNDLE_ICON}"
DESTINATION "${_paraview_client_BUNDLE_DESTINATION}/${_paraview_client_APPLICATION_NAME}.app/Contents/Resources")
......
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