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

Merged
github-actions[bot] merged 1 commits from cherry-pick-281419828-release-0.28 into release-0.28 2020-09-30 19:31:34 -05:00

1 Commits

Author SHA1 Message Date
Suhaib Mujahid a01624645a feat: Enable change the system install path (#653)
#### Problem:
The current `CMAKE_INSTALL_PREFIX` value for the `system` build mode is `/usr`. However, in`macOS` as an example, you cannot write to `/usr` without `sudo` permission.

#### Proposed solution:
Enable changing the value to `/usr/local` (or any other path). This change makes the script use the value of the environment variable `SYSTEM_INSTALL_PREFIX` to select the installation path.  If the variable is not set, it fallback to the path `/usr`.

(cherry picked from commit 111185838c)
2020-10-01 00:28:03 +00:00