mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-13 10:52:57 +01:00
export correct PATH for macOS
This commit is contained in:
parent
b3970c451c
commit
db90fde58c
@ -29,7 +29,11 @@ cmake_install() {
|
|||||||
wget -qO- "https://cmake.org/files/v3.20/cmake-3.20.5-$CMAKE_SUFFIX.tar.gz" \
|
wget -qO- "https://cmake.org/files/v3.20/cmake-3.20.5-$CMAKE_SUFFIX.tar.gz" \
|
||||||
| tar --strip-components=1 -xz -C $CMAKE_INSTALL_DIR
|
| tar --strip-components=1 -xz -C $CMAKE_INSTALL_DIR
|
||||||
|
|
||||||
export PATH=$CMAKE_INSTALL_DIR/bin:$PATH
|
if [ $TRAVIS_OS_NAME = "linux" ]; then
|
||||||
|
export PATH=$CMAKE_INSTALL_DIR/bin:$PATH
|
||||||
|
elif [ $TRAVIS_OS_NAME = "osx" ]; then
|
||||||
|
export PATH=$CMAKE_INSTALL_DIR/CMake.app/Contents/bin:$PATH
|
||||||
|
fi
|
||||||
cmake --version
|
cmake --version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user