Skip to content

Conversation

@palemieux
Copy link
Contributor

@palemieux palemieux commented Jan 7, 2025

In order to be exported by cmake (INSTALL(EXPORT...)), header directories need to be relative, but they need to be absolute when building.

See example: https://github.com/AcademySoftwareFoundation/openexr/blob/b2b882adb7c0ec1e0eeb235e3ddff6f3657a4f12/cmake/OpenEXRSetup.cmake#L301

Closes #167

@aous72
Copy link
Owner

aous72 commented Jan 7, 2025

Hi Pierre,

Thank you for putting this in.
I have no issues with the changes, except for that inconsistent "/", but can be easily improved from my side.

@kmilos Does that work for you?

@kmilos
Copy link
Contributor

kmilos commented Jan 8, 2025

I have no issues with the changes, except for that inconsistent "/"

LGTM, thanks. Would indeed be nice to have the "/" consistent...

@palemieux
Copy link
Contributor Author

I have added the missing slash.

@aous72
Copy link
Owner

aous72 commented Jan 9, 2025

Thank you Pierre for putting this is.
Thank you Milos for the prompt response.
I could not have done it without you guys.

@aous72 aous72 merged commit 7a2f6ea into aous72:master Jan 9, 2025
2 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.

Make include header directories relative when installing

3 participants