Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Oct 1, 2020

Problem:

The current CMAKE_INSTALL_PREFIX value for the system build mode is /usr. However, inmacOS 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 1111858)

#### 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 1111858)
@lhchavez lhchavez merged commit b621255 into release-0.28 Oct 1, 2020
@lhchavez lhchavez deleted the cherry-pick-281419828-release-0.28 branch October 1, 2020 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants