Enable change the system install path #653

Merged
suhaibmujahid merged 1 commits from patch-2 into master 2020-09-30 19:27:48 -05:00
suhaibmujahid commented 2020-09-30 19:23:21 -05:00 (Migrated from github.com)

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.

#### 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`.
lhchavez (Migrated from github.com) approved these changes 2020-09-30 19:27:34 -05:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#653
No description provided.