diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-06-14 13:53:25 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-06-14 13:53:25 +0800 |
| commit | 893b93bbbcb2ffc4948f2ebca9dd86be55e79237 (patch) | |
| tree | a0e270333a85b050b48412aada9d86f2642d3b08 /indra/newview/SignPackageMmxSse2.cmake.in | |
| parent | 47b583e9caa3388cd41f70e8de0a5a950082979d (diff) | |
Separate VLC MMX & SSE2 plugins signing for macOS
as they are available only for x86-64.
The PACKAGE=ON parity files are done too in case we switch it on
(and use CPack for macOS too, again) in the future.
Diffstat (limited to 'indra/newview/SignPackageMmxSse2.cmake.in')
| -rw-r--r-- | indra/newview/SignPackageMmxSse2.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/SignPackageMmxSse2.cmake.in b/indra/newview/SignPackageMmxSse2.cmake.in new file mode 100644 index 0000000000..9a1c22cf68 --- /dev/null +++ b/indra/newview/SignPackageMmxSse2.cmake.in @@ -0,0 +1,11 @@ +message("By default, the situation is assumed to be the strictest, an Apple Silicon Mac with the default security settings. Codesigning requires administrative access. If you believe you're not in such a situation, you can remove the sudos in this file.") +execute_process( + COMMAND sudo codesign -f -s ${SIGNING_IDENTITY} --timestamp -o runtime --runtime-version ${CMAKE_OSX_DEPLOYMENT_TARGET} + Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_rgb_mmx_plugin.dylib + Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_rgb_sse2_plugin.dylib + Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_yuy2_mmx_plugin.dylib + Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_yuy2_sse2_plugin.dylib + Resources/SLPlugin.app/Contents/Frameworks/plugins/libi422_yuy2_mmx_plugin.dylib + Resources/SLPlugin.app/Contents/Frameworks/plugins/libi422_yuy2_sse2_plugin.dylib + WORKING_DIRECTORY ${CMAKE_CACHEFILE_DIR}/_CPack_Packages/${CMAKE_SYSTEM_NAME}/Bundle/${CPACK_BUNDLE_NAME}-${CPACK_PACKAGE_VERSION}-${CMAKE_SYSTEM_NAME}/${CPACK_BUNDLE_NAME}.app/Contents + ) |
