Pass CMAKE_OSX_ARCHITECTURES from command line to configure.

This commit is contained in:
John Preston
2021-10-27 10:37:53 +04:00
parent 98c87d4a16
commit 92b3149cdd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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