fix bash var set + use correct cmake bins (travis uses macos 10.12)

This commit is contained in:
Alberto Invernizzi 2021-06-27 19:41:46 +02:00
parent ec6409292c
commit b3970c451c

View File

@ -17,9 +17,9 @@ cmake_install() {
local CMAKE_SUFFIX="none"
if [ $TRAVIS_OS_NAME = "linux" ]; then
set CMAKE_SUFFIX="linux-x86_64"
CMAKE_SUFFIX="linux-x86_64"
elif [ $TRAVIS_OS_NAME = "osx" ]; then
set CMAKE_SUFFIX="macos-universal"
CMAKE_SUFFIX="macos10.10-universal"
else
echo "TRAVIS_OS_NAME $TRAVIS_OS_NAME not expected"
exit 1