We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebdce4 commit cf8fb0eCopy full SHA for cf8fb0e
build-boost.sh
@@ -13,7 +13,11 @@ source "${ROOT}/DEPENDENCIES"
13
14
BUILD_TYPE=${BUILD_TYPE:-Release}
15
16
-INSTALL_PREFIX=${INSTALL_PREFIX:-"/usr/local/opt/boost-${BOOST_VERSION}"}
+if [ "${BUILD_TYPE}" != "Release" ]; then
17
+ INSTALL_PREFIX=${INSTALL_PREFIX:-"/usr/local/opt/boost-${BOOST_VERSION}_${BUILD_TYPE}"}
18
+else
19
+ INSTALL_PREFIX=${INSTALL_PREFIX:-"/usr/local/opt/boost-${BOOST_VERSION}"}
20
+fi
21
22
BUILD_DIR=$(mktemp -d /tmp/boost-${BOOST_VERSION}-build-XXX)
23
mkdir -p $BUILD_DIR
0 commit comments