feat: Enable change the system install path (#653) #654

Merged
github-actions[bot] merged 1 commits from cherry-pick-281419828-release-0.27 into release-0.27 2020-09-30 19:31:21 -05:00
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if [ -z "${BUILD_SHARED_LIBS}" ]; then
fi
if [ "${BUILD_SYSTEM}" = "ON" ]; then
BUILD_INSTALL_PREFIX="/usr"
BUILD_INSTALL_PREFIX=${SYSTEM_INSTALL_PREFIX-"/usr"}
else
BUILD_INSTALL_PREFIX="${BUILD_PATH}/install"
mkdir -p "${BUILD_PATH}/install/lib"