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

cmake: do not hardcode relative install directories #153

Merged
merged 1 commit into from
Jul 6, 2017

Conversation

sergiud
Copy link
Collaborator

@sergiud sergiud commented Jan 10, 2017

The relative install directories are determined using the CMake GNUInstallDirs module. In particular, this allows to automatically determine the correct lib directory (lib vs lib64 etc.).

@sergiud
Copy link
Collaborator Author

sergiud commented Jul 5, 2017

@shinh Please merge.

@andyleejordan
Copy link
Contributor

Just curious, does this work as expected (or is at least compatible with) Windows?

@andyleejordan
Copy link
Contributor

(I'm guessing yes, because I doubt anyone uses the install target on Windows.)

@sergiud
Copy link
Collaborator Author

sergiud commented Jul 6, 2017

It does. On Windows the commit won't make any difference. Under Linux, the correct suffix for lib will be detected automatically.

@shinh shinh merged commit 40fc214 into google:master Jul 6, 2017
durswd pushed a commit to durswd/glog that referenced this pull request Sep 2, 2019
cmake: do not hardcode relative install directories
@sergiud sergiud deleted the cmake-gnu-install-dirs branch April 12, 2021 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants