Pass extra cmake flags on osx

This commit is contained in:
Berkus Decker 2018-01-12 22:31:38 +02:00 committed by Berkus Decker
parent 9c55a71a5e
commit 6eac160c9c
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,6 @@
set -x
conan install .. --build missing
cmake -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTING=ON .. || exit 1
cmake -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE $EXTRA_CMAKE_FLAGS -DBUILD_TESTING=ON .. || exit 1
cmake --build . -- -v || exit 1
ASAN_OPTIONS=alloc_dealloc_mismatch=0 ctest . || exit 1

View File

@ -8,5 +8,6 @@ fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
cd _build_
export EXTRA_CMAKE_FLAGS=-DCMAKE_PREFIX_PATH='/usr/local/opt/qt5/;/usr/local/opt/openal-soft'
../.travis/build.sh
fi