Skip to content

Commit

Permalink
build_appveyor_macos.sh: Set the min accepted macos version to 10.13.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandra Trifan <Alexandra.Trifan@analog.com>
  • Loading branch information
AlexandraTrifan committed Jun 28, 2021
1 parent 237da6d commit 86ddd9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CI/appveyor/build_appveyor_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ mkdir -p build
cd build

if [ "$APPVEYOR" == "true" ] ; then
MACOS_VERSION=$(/usr/libexec/PlistBuddy -c "Print:ProductVersion" /System/Library/CoreServices/SystemVersion.plist)
if [[ "$MACOS_VERSION" == "10.14."* ]] ; then
export MACOSX_DEPLOYMENT_TARGET=10.13
fi
cmake ..
make -j${NUM_JOBS}
otool -l ./Scopy.app/Contents/MacOS/Scopy # for debugging
else
cmake -DCMAKE_PREFIX_PATH="$STAGINGDIR;${QT_PATH}/lib/cmake" -DCMAKE_INSTALL_PREFIX="$STAGINGDIR" \
-DCMAKE_EXE_LINKER_FLAGS="-L${STAGINGDIR}/lib" ..
Expand Down

0 comments on commit 86ddd9d

Please sign in to comment.