← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Don't reference CMAKE_INSTALL_PREFIX in installation paths

 

On 4/30/2018 10:35 AM, Nick Østergaard wrote:
> @Wayne, what do you mean by forging GNUInstallDirs? We already sue
> GNUInstallDirs for some parts of our cmakelists, sepcifically for the
> libdir thing. I am not sure if we do in other locations. 

I meant is there a way to tell cmake to include GNUInstallDirs at config
time without making changes to our cmake files.  Maybe I'm being overly
cautious here.  I just don't want to include GNUInstallDirs and then
have to go back a fix any platform specific stuff for macos and/or windows.

> 
> Using GNUInstallDir variables let the user / packager be able to
> override some install paths instead of using the hardcoded values.
> 
> @Simon, does MAKE_INSTALL_DATADIR work for gnu stow? If so, I guess it
> is safer to use that variable, as we do elsewhere.
> 
> 2018-04-30 15:57 GMT+02:00 Simon Richter <Simon.Richter@xxxxxxxxxx
> <mailto:Simon.Richter@xxxxxxxxxx>>:
> 
>     Hi,
> 
>     On 30.04.2018 15:45, Wayne Stambaugh wrote:
> 
>     > I'm not sure GNUInstallDir wont break all other platform installs so I'm
>     > a bit reluctant to use it this close to v5 release.  We certainly take a
>     > look at it for v6.  Is there some way to force GNUInstallDirs at config
>     > time on the cmake command line?
> 
>     Is the original patch okay (it's a no-op unless you override things
>     during installation)?
> 
>        Simon
> 
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


References