Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't attempt installing pixmaps and launchers on macOS -> breaks git…
…hub test runs etc Also, I think the best would be to honour CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/share/pixmaps ought to give /usr/share/pixmaps on Debian
- Loading branch information
31e70b0
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.
@farhi the previous install destination broke GitHub runners for macOS, see e.g. https://github.com/McStasMcXtrace/McCode/actions/runs/10009267813
For now I have added
if (NOT DARWIN)
, but I further think we ought to use something like${CMAKE_INSTALL_PREFIX}/share/pixmaps
instead of a hardcoded path to /usr31e70b0
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.
@farhi I have implemented
${CMAKE_INSTALL_PREFIX}
now since the above, half-baked solution did not work anyway. :)(Note to self, I really should enable PR-only commits to main)
31e70b0
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.
Hi Peter,
Thanks for the fix.
However the new target
{CMAKE_INSTALL_PREFIX}/share/applications
boils down to something like:
/usr/share/share/applications
for the desktop launcher, which is not the expected
/usr.share/applications/
.Regarding commits, in the end, if we converge on a working solution, as we always did, then all is fine in my view. I'll push a fix, via a PR ;-)