-
-
Notifications
You must be signed in to change notification settings - Fork 116
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 DESTDIR behavior at install time. #1235
Conversation
@phcerdan It is pity that this is not documented in CMake. I already mentioned about doc problems and DESTDIR via issue tracker of CMake. I hope it is going to be improved soon. |
@copyme yeah, they should document that I am not sure how well documented the escaping behavior is. But use of |
@phcerdan I came to a conclusion that it would be better to start a new issue. See https://gitlab.kitware.com/cmake/cmake/issues/16583 |
@phcerdan I saw your comment. Thanks for the additional information! |
@dcoeurjo I will make tests on build.opensuse.org, stay tuned ;-) |
Excellent ! ;) @phcerdan, could you please add an tiny entry to the changelog (bug fix section) ? The main drawback is that the commit size would drastically increased ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog entry
We have to read DESTDIR at install time, not at configure time. so we escpae the $ symbol. `\$ENV{DESTDIR}` The same with TABLE_DIR inside configure_file.
done (rebased) |
👏 |
We have to read DESTDIR at install time, not at configure time.
so we escape the
$
symbol.\$ENV{DESTDIR}
The same with TABLE_DIR inside configure_file.
Read more: https://cmake.org/pipermail/cmake-developers/2013-January/017810.html
Fix #1229
Checklist
cmake
mode (otherwise, Travis C.I. will fail).