mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Pass CMAKE_OSX_ARCHITECTURES from command line to configure.
This commit is contained in:
parent
98c87d4a16
commit
92b3149cdd
3 changed files with 3 additions and 3 deletions
|
@ -208,7 +208,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "macstore" ]; then
|
||||||
fi
|
fi
|
||||||
rm -rf "$ReleasePath/$BinaryName.app/Contents/_CodeSignature"
|
rm -rf "$ReleasePath/$BinaryName.app/Contents/_CodeSignature"
|
||||||
|
|
||||||
./configure.sh
|
./configure.sh -D CMAKE_OSX_ARCHITECTURES="x86_64;arm64"
|
||||||
|
|
||||||
cd $ProjectPath
|
cd $ProjectPath
|
||||||
cmake --build . --config Release --target Telegram
|
cmake --build . --config Release --target Telegram
|
||||||
|
|
|
@ -59,7 +59,7 @@ if building:
|
||||||
finish(1, 'Todays updates version exists.')
|
finish(1, 'Todays updates version exists.')
|
||||||
|
|
||||||
if uuid == '':
|
if uuid == '':
|
||||||
result = subprocess.call('./configure.sh', shell=True)
|
result = subprocess.call('./configure.sh -D CMAKE_OSX_ARCHITECTURES="x86_64;arm64"', shell=True)
|
||||||
if result != 0:
|
if result != 0:
|
||||||
finish(1, 'While calling GYP.')
|
finish(1, 'While calling GYP.')
|
||||||
|
|
||||||
|
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit 33799d3d6c6cc6634f8e69406ce132bb65ebc3b7
|
Subproject commit c0c09baa3563980602ab98dcc21fe1d1b58ee4a8
|
Loading…
Add table
Reference in a new issue