Skip to content

Fix cmake file with DESTDIR#1321

Merged
rouault merged 2 commits intouclouvain:masterfrom
ffontaine:master
Jan 10, 2021
Merged

Fix cmake file with DESTDIR#1321
rouault merged 2 commits intouclouvain:masterfrom
ffontaine:master

Conversation

@ffontaine
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

rouault commented Jan 7, 2021

@matthew-sharp Can you test this PR ?

@matthew-sharp
Copy link
Copy Markdown
Contributor

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

@rouault
Copy link
Copy Markdown
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