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

Install headers in correct path when using CMake #157

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

bjosv
Copy link
Collaborator

@bjosv bjosv commented Nov 3, 2023

pkg-config provides users with the include path ../include/r3
while CMake installs the headers directly under ../include/.

This PR corrects the installation path to match the generated r3.pc file
and to get the same result as when using autoconf.

The example in the README also shows that the <r3/r3.h> path is expected.

pkg-config provides users with the include path `../include/r3`
while CMake installs the headers directly under `../include/`.
This corrects the installation path to match the generated r3.pc
and to get the same result as when using autoconf.
@bjosv bjosv requested a review from c9s November 3, 2023 09:08
@c9s c9s merged commit c1aab00 into c9s:2.0 Nov 12, 2023
10 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