2c0f65c3ea
(This also modifies the CI scripts accordingly) It was difficult to build local obs-browser builds on macOS due to the way the frameworks work and libraries are linked. This solves that issue so that local builds of obs-browser should always work fine.
16 lines
401 B
Bash
Executable File
16 lines
401 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-master \
|
|
-DBUILD_BROWSER=ON \
|
|
-DBROWSER_DEPLOY=ON \
|
|
-DCEF_ROOT_DIR=$PWD/../../cef_binary_${CEF_BUILD_VERSION}_macosx64 ..
|