mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 17:02:15 -07:00
Code Sign should work? maybe2
This commit is contained in:
parent
0509cea330
commit
eca65cd1e4
2 changed files with 11 additions and 4 deletions
|
|
@ -122,7 +122,14 @@ if(UNIX)
|
|||
set(CMAKE_XCODE_ATTRIBUTE_CXX "${CMAKE_BINARY_DIR}/launch-cxx")
|
||||
set(CMAKE_XCODE_ATTRIBUTE_LD "${CMAKE_BINARY_DIR}/launch-c")
|
||||
set(CMAKE_XCODE_ATTRIBUTE_LDPLUSPLUS "${CMAKE_BINARY_DIR}/launch-cxx")
|
||||
|
||||
# This tells Xcode's signing phase to pretend that the binary was signed by the linker.
|
||||
# Then install_name_tool is willing to revise the ad-hoc signature.
|
||||
# See: https://gitlab.kitware.com/cmake/cmake/-/issues/21854#note_907691
|
||||
set(CMAKE_XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS "-o linker-signed")
|
||||
|
||||
# Stripping the files will invalidate the signatures.
|
||||
set(CPACK_STRIP_FILES FALSE)
|
||||
endif()
|
||||
else()
|
||||
# Linux / BSD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue