Commit 336697f3 authored by Bob Obara's avatar Bob Obara Committed by Kitware Robot

Merge topic 'fix-macos-icon'

365a6b3b apple: install the modelbuilder icon if available
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !502
parents 8588861b 365a6b3b
...@@ -37,7 +37,7 @@ foreach(program IN LISTS cmb_programs_to_install) ...@@ -37,7 +37,7 @@ foreach(program IN LISTS cmb_programs_to_install)
ADDITIONAL_LIBRARIES ${additional_libraries} ADDITIONAL_LIBRARIES ${additional_libraries}
SEARCH_DIRECTORIES SEARCH_DIRECTORIES
"${superbuild_install_location}/lib") "${superbuild_install_location}/lib")
foreach (icon_filename MacIcon.icns pvIcon.icns) foreach (icon_filename MacIcon.icns pvIcon.icns modelbuilder.icns)
set(icon_path "${superbuild_install_location}/Applications/${program}.app/Contents/Resources/${icon_filename}") set(icon_path "${superbuild_install_location}/Applications/${program}.app/Contents/Resources/${icon_filename}")
if (EXISTS "${icon_path}") if (EXISTS "${icon_path}")
install( install(
......
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