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 Commits

Author SHA1 Message Date
Suhaib Mujahid 04c0098137 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:01 +00:00