Commit 14ff5619 authored by Ben Boeckel's avatar Ben Boeckel

apple: add an icon for the package itself

parent 7defc104
......@@ -26,6 +26,14 @@ foreach(program IN LISTS cmb_programs_to_install)
PLUGINS ${cmb_plugins}
SEARCH_DIRECTORIES
"${superbuild_install_location}/lib")
install(
FILES "${superbuild_install_location}/Applications/${program}.app/Contents/Resources/MacIcon.icns"
DESTINATION "${cmb_package}/${program}.app/Contents/Resources"
COMPONENT superbuild)
install(
FILES "${superbuild_install_location}/Applications/${program}.app/Contents/Info.plist"
DESTINATION "${cmb_package}/${program}.app/Contents"
COMPONENT superbuild)
install(CODE
"file(MAKE_DIRECTORY \"\${CMAKE_INSTALL_PREFIX}/${cmb_package}/${program}.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