mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Pass CMAKE_OSX_ARCHITECTURES from command line to configure.
This commit is contained in:
@@ -208,7 +208,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "macstore" ]; then
|
||||
fi
|
||||
rm -rf "$ReleasePath/$BinaryName.app/Contents/_CodeSignature"
|
||||
|
||||
./configure.sh
|
||||
./configure.sh -D CMAKE_OSX_ARCHITECTURES="x86_64;arm64"
|
||||
|
||||
cd $ProjectPath
|
||||
cmake --build . --config Release --target Telegram
|
||||
|
||||
@@ -59,7 +59,7 @@ if building:
|
||||
finish(1, 'Todays updates version exists.')
|
||||
|
||||
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:
|
||||
finish(1, 'While calling GYP.')
|
||||
|
||||
|
||||
+1
-1
Submodule cmake updated: 33799d3d6c...c0c09baa35
Reference in New Issue
Block a user