Set MACOSX_DEPLOYMENT_TARGET explicitly in macos builds so we can support older verions

This commit is contained in:
Luis Ángel San Martín Rodríguez 2024-05-28 15:45:13 +02:00
parent e7c8d8449b
commit 9deba04a9c

View File

@ -171,6 +171,7 @@ jobs:
certSecureFile: 'developerID_application.p12'
certPwd: $(P12Password)
- script: |
MACOSX_DEPLOYMENT_TARGET=11
cd $(Build.SourcesDirectory)
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
echo "Trying to know if we are in a forked repo: $IS_FORK"
@ -228,7 +229,7 @@ jobs:
certSecureFile: 'developerID_application.p12'
certPwd: $(P12Password)
- script: |
export MACOSX_DEPLOYMENT_TARGET=10.13
MACOSX_DEPLOYMENT_TARGET=10.13
cd $(Build.SourcesDirectory)
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
echo "Trying to know if we are in a forked repo: $IS_FORK"