File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ if(APPLE)
255255 install (CODE "
256256 include(BundleUtilities)
257257 fixup_bundle(\" ${APPS} \" \"\" \" ${DIRS} \" )
258- execute_process(COMMAND \" codesign --deep --force -s - ${CMAKE_INSTALL_PREFIX} \" )
258+ include( \" ${CMAKE_SOURCE_DIR} /src/ngscopeclient/macos/signing.cmake \" )
259259 " )
260260endif ()
261261
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RESOURCES="$BUNDLE/Contents/Resources"
55
66export " PATH=$RESOURCES /bin:$PATH "
77
8- exec " $RESOURCES /bin/ngscopeclient"
8+ exec " $RESOURCES /bin/ngscopeclient" $*
99
1010# eof
1111
Original file line number Diff line number Diff line change 1+ if (NOT SIGNING_IDENTITY)
2+ set (SIGNING_IDENTITY -)
3+ endif ()
4+
5+ get_filename_component (APP_BUNDLE "${CMAKE_INSTALL_PREFIX} /../.." ABSOLUTE )
6+
7+ message (STATUS "Signing all dylibs" )
8+ execute_process (COMMAND find "${APP_BUNDLE} " -type f -name "*.dylib" -exec codesign --force -s "${SIGNING_IDENTITY} " {} \; )
9+
10+ # The .app bundle isn't fully constructed at this stage, so can't run this here...
11+ #message(STATUS "Signing ngscopeclient.app")
12+ #execute_process(COMMAND codesign --force -s "${SIGNING_IDENTITY}" "${APP_BUNDLE}")
13+
You can’t perform that action at this time.
0 commit comments