Skip to content

Commit

Permalink
Update build_mac.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Nov 4, 2024
1 parent 32d5c69 commit aef5397
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ BUILD_DIR=${BUILD_DIR:-"${CWD}/build-release"}

export PATH="${SDK}/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PKG_CONFIG_PATH="${SDK}/lib/pkgconfig"
export PKG_CONFIG="${SDK}/bin/pkg-config"
export PKG_CONFIG="${SDK}/bin/pkgconf"

if [ -d "${BUILD_DIR}" ]; then
rm -rf ${BUILD_DIR}
fi
mkdir ${BUILD_DIR} && cd ${BUILD_DIR}

cmake -G Ninja \
-DPKG_CONFIG_EXECUTABLE=${SDK}/bin/pkgconf \
-DCMAKE_OSX_DEPLOYMENT_TARGET=12.7 \
-DMAC_DEPLOY=ON \
-DGIT_COMMIT=${COMMIT} \
Expand Down

0 comments on commit aef5397

Please sign in to comment.