travis: fix CMake using only macOS internal SDK bug
@@ -250,7 +250,7 @@ before_script:
- |
cd $TRAVIS_BUILD_DIR
if [ "$TRAVIS_OS_NAME" = 'linux' ]; then
- CMAKE_OPT+=(-DCMAKE_INSTALL_PREFIX="$PWD/install")
+ CMAKE_OPT+=(-DCMAKE_INSTALL_PREFIX="$PWD/install" -DCMAKE_OSX_SYSROOT="" -DCMAKE_OSX_DEPLOYMENT_TARGET="")
export PATH=$PATH:"$PWD/install/bin"
export LD_LIBRARY_PATH="$PWD/install/lib"
fi
