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

Use GNUInstallDirs for standard conforming install target. #257

Closed
wants to merge 1 commit into from

Conversation

de-vri-es
Copy link

@de-vri-es de-vri-es commented May 28, 2017

This PR replaces the custom commands for install targets with the CMake install() command. Additionally, it uses GNUInstallDirs.cmake [1] to install to different types of files to the right location.

Additionally, GNUInstallDirs allows the user to override the install location of different types of files with well-known variable names (-DCMAKE_INSTALL_LIBDIR, -DCMAKE_INSTALL_INCLUDEDIR, ...).

This makes it much easier to package the software for a package manager.

[1] https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html

@hcho3
Copy link
Contributor

hcho3 commented Feb 5, 2019

Closing this in favor of #495.

@hcho3 hcho3 closed this Feb 5, 2019
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