mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +03:00
Move OSX deployment target to toolchain file for hunter; add codesign debug
This commit is contained in:
parent
5244952b83
commit
1fa21af38e
3 changed files with 5 additions and 2 deletions
|
@ -19,8 +19,7 @@ cmake -GNinja -S. -Bbuild \
|
|||
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \
|
||||
-DUSE_BUNDLED_OPENSSL=ON \
|
||||
-DCI_BUILD=ON \
|
||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
|
||||
-DCI_BUILD=ON
|
||||
cmake --build build
|
||||
( cd build || exit
|
||||
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
|
||||
|
|
|
@ -41,6 +41,7 @@ find "build/nheko.app/Contents"|while read -r fname; do
|
|||
done
|
||||
|
||||
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "build/nheko.app"
|
||||
codesign -vvv --deep --strict "build/nheko.app"
|
||||
|
||||
NOTARIZE_SUBMIT_LOG=$(mktemp /tmp/notarize-submit.XXXXXX)
|
||||
NOTARIZE_STATUS_LOG=$(mktemp /tmp/notarize-status.XXXXXX)
|
||||
|
@ -52,6 +53,8 @@ trap finish EXIT
|
|||
|
||||
dmgbuild -s .ci/macos/settings.json "Nheko" nheko.dmg
|
||||
codesign -s "${APPLE_DEV_IDENTITY}" nheko.dmg
|
||||
codesign -vvv --deep --strict nheko.dmg
|
||||
|
||||
user=$(id -nu)
|
||||
chown "${user}" nheko.dmg
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)
|
Loading…
Reference in a new issue