0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/CI/before-script-osx.sh
Rat cb3054ae6e CI: Build caption output support on OSX by default
Enable caption building by default on OSX to make captions usable
on OSX via scripting API.
2019-03-21 07:46:12 +01:00

17 lines
422 B
Bash
Executable File

# Make sure ccache is found
export PATH=/usr/local/opt/ccache/libexec:$PATH
git fetch --tags
mkdir build
cd build
cmake -DENABLE_SPARKLE_UPDATER=ON \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.11 \
-DQTDIR=/usr/local/Cellar/qt/5.10.1 \
-DDepsPath=/tmp/obsdeps \
-DVLCPath=$PWD/../../vlc-3.0.4 \
-DBUILD_BROWSER=ON \
-DBROWSER_DEPLOY=ON \
-DBUILD_CAPTIONS=ON \
-DCEF_ROOT_DIR=$PWD/../../cef_binary_${CEF_BUILD_VERSION}_macosx64 ..