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

Fix cmake file with DESTDIR #1321

Merged
merged 2 commits into from
Jan 10, 2021
Merged

Fix cmake file with DESTDIR #1321

merged 2 commits into from
Jan 10, 2021

Conversation

ffontaine
Copy link
Contributor

This reverts commit 6558637 which breaks cross-compilation of poppler under buildroot (because of DESTDIR usage). Instead, ABSOLUTE is replaced by REALPATH to resolve symlinks (https://cmake.org/cmake/help/latest/command/get_filename_component.html)

This reverts commit 6558637 which
breaks cross-compilation of poppler under buildroot (because of
DESTDIR usage).
Fix #1174 by replacing ABSOLUTE by REALPATH which will resolve symlinks:
https://cmake.org/cmake/help/latest/command/get_filename_component.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@rouault
Copy link
Collaborator

rouault commented Jan 7, 2021

@matthew-sharp Can you test this PR ?

@matthew-sharp
Copy link
Contributor

This PR works for me. Apologies for breaking cross-compile.

@rouault
Copy link
Collaborator

rouault commented Jan 10, 2021

This PR works for me

Thanks for the feedback

@rouault rouault merged commit 0bda718 into uclouvain:master Jan 10, 2021
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.

3 participants