feat: Enable change the system install path

This commit is contained in:
Suhaib Mujahid 2020-09-30 20:07:06 -04:00 committed by GitHub
parent f3a746d7b6
commit 139e926b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"