-
Notifications
You must be signed in to change notification settings - Fork 39
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: make install path configurable #1174
Conversation
@junghans Thank you for the contribution! I'm not really familiar with Not sure about |
The issue was that things got installed in
CMake is looking into |
The way I read the Filesystem Hierarchy Standard,
Is there an example of a library that installs code headers in |
Sorry, it is not about the headers, I only want to change the default for the CMake files from |
@aprokop I went for the minimal version, as |
@dalg24 Does https://discourse.cmake.org/t/what-should-the-destination-be-for-a-header-only-librarys-cmake-config-file/8473 convince you to go with |
I don't care too much as long as it is the search paths constructed for both Windows and Unix which both lib* and share are |
Build errors are unrelated. |
@junghans Thank you for your contribution and patience. |
Making CMake install locations configurable.
I also changed the default for the CMake Target files to
share
instead oflibdir
as the library is header-only and arch-independent.