Improve GNU install directories with cmake

Having trouble installing or compiling FreeCAD? Get help here.
wmayer
Site Admin
Posts: 14423
Joined: Thu Feb 19, 2009 10:32 am

Improve GNU install directories with cmake

Postby wmayer » Wed Jul 10, 2019 11:29 am

Recently we again had build problems because of some issues with absolute vs. relative path names on some Linux machines due to using some cmake variables in a non-standard way. In the past we had this discussion several times but never really fixed the issue. So, I created a branch to follow the ideas and suggestions of these discussions.

Here are some links to the resources I found:
https://forum.freecadweb.org/viewtopic. ... 4&p=168308
https://forum.freecadweb.org/viewtopic. ... 1&start=10
https://forum.freecadweb.org/viewtopic. ... 6&p=253866
https://github.com/FreeCAD/FreeCAD/pull/617/files
https://wiki.debian.org/Multiarch/Implementation#CMake
https://www.gnu.org/prep/standards/html ... ables.html

And here the link to the branch:
https://github.com/FreeCAD/FreeCAD/pull/2318
kkremitzki wrote: ping
Can you have a look please and check if the Debian packages still work as expected with these changes?
User avatar
Kunda1
Posts: 4755
Joined: Thu Jan 05, 2017 9:03 pm

Re: Improve GNU install directories with cmake

Postby Kunda1 » Wed Jul 10, 2019 11:45 am

Should probably link to this in the Packaging subforum (or perhaps pin it)?
OR could I move this topic to the Packaging subforum and leave a shadow topic in this one?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
kkremitzki
Posts: 1641
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Improve GNU install directories with cmake

Postby kkremitzki » Tue Aug 13, 2019 6:55 pm

Ah, let me take a look tonight and see if this will break anything.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.