Skip to content
Snippets Groups Projects
Commit cf19da53 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent f871ad27
No related branches found
No related tags found
No related merge requests found
......@@ -1820,7 +1820,7 @@ if(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
RENAME GmshSol.icns)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIconsPos.icns DESTINATION .
RENAME GmshPos.icns)
if(PACKAGER STREQUAL "geuzaine")
if(PACKAGER STREQUAL "geuzaine FIXME")
set(CODESIGN "codesign --force --verify --verbose --sign
\"Developer ID Application: Christophe Geuzaine\"")
set(APPDIR _CPack_Packages/Darwin/Bundle/gmsh-${GMSH_VERSION}-MacOSX/Gmsh.app)
......@@ -1828,7 +1828,7 @@ if(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
"execute_process(COMMAND ${CODESIGN} ${APPDIR}/Contents/MacOS/onelab.py)
execute_process(COMMAND ${CODESIGN} ${APPDIR}/Contents/MacOS/gmsh)
execute_process(COMMAND ${CODESIGN} ${APPDIR})")
endif(PACKAGER STREQUAL "geuzaine")
endif(PACKAGER STREQUAL "geuzaine FIXME")
set(CPACK_PACKAGE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/MacIcons.icns)
elseif(WIN32 OR CYGWIN)
set(CPACK_GENERATOR ZIP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment