Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative DESTINATION path when installing man page #1590

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

rexim
Copy link
Contributor

@rexim rexim commented Nov 1, 2024

This makes the install() function install the file with respect to CMAKE_INSTALL_PREFIX which may not always be /usr/local/ especially when some people install the compiler locally in their $HOME folder.

https://cmake.org/cmake/help/latest/command/install.html

I personally like to set my CMAKE_INSTALL_PREFIX to $HOME/opt/c3, so for me this results in this

2024-11-01-183528_1022x309_scrot

This PR makes it respect the installation prefix

2024-11-01-184954_820x259_scrot

cc: @goneal26

This makes the install() function install the file with respect to
`CMAKE_INSTALL_PREFIX` which may not always be `/usr/local/` especially
when some people install the compiler locally in their `$HOME` folder.

https://cmake.org/cmake/help/latest/command/install.html
@lerno
Copy link
Collaborator

lerno commented Nov 3, 2024

Thanks!

@lerno lerno merged commit 4be5c74 into c3lang:master Nov 3, 2024
43 checks passed
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.

2 participants