File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ jobs:
215215 export OPENSSL_ROOT_DIR=$(brew --prefix openssl@3)
216216 mkdir build
217217 cmake -G Ninja \
218- -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
218+ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 \
219219 -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \
220220 -DCMAKE_BUILD_TYPE=Release \
221221 -DSMCE_CXXRT_LINKING=STATIC \
Original file line number Diff line number Diff line change 11
22set (OSX_NEEDS_SIGN False )
33if (APPLE AND NOT CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64" )
4- list (FIND CMAKE_OSX_ARCHITECTURES "arm64" osx_target_arm64)
4+ string (FIND " ${ CMAKE_OSX_ARCHITECTURES} " "arm64" osx_target_arm64)
55 if (osx_target_arm64 GREATER_EQUAL 0)
6+ message (STATUS "Targeting Apple Silicon - ad-hoc signatures required" )
67 set (OSX_NEEDS_SIGN True )
78 find_program (CODESIGN_EXECUTABLE codesign REQUIRED)
89 endif ()
910endif ()
1011
11- function (ad_hoc_sign target )
12+ macro (ad_hoc_sign target )
1213 if (OSX_NEEDS_SIGN)
1314 add_custom_command (TARGET "${target} " POST_BUILD
1415 COMMAND "${CODESIGN_EXECUTABLE} " --force --deep -s - --digest-algorithm=sha1,sha256 "$<TARGET_FILE:${target} >"
16+ COMMENT "Stamping ad-hoc signature on target ${target} "
1517 )
1618 endif ()
17- endfunction ()
19+ endmacro ()
You can’t perform that action at this time.
0 commit comments