scipopt / soplex

Sequential object-oriented simPlex
Other
59 stars 18 forks source link

Use GNUInstallDirs #18

Closed musicinmybrain closed 1 year ago

musicinmybrain commented 1 year ago

https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

Fixes multilib installation paths (e.g. /usr/lib64 vs. /usr/lib) on some Linux distributions.

I’m not a CMake expert, and I haven’t attempted to test this on other platforms, but it seems to work for me.

ambros-gleixner commented 1 year ago

@Urquh4rt Can you move this to our master and double-check if it is also relevant for SCIP's cmake?

matbesancon commented 1 year ago

bugfix even no?

ju-manns commented 1 year ago

@ambros-gleixner I will monitor this and try to merge it to bugfix-60 as @matbesancon suggested. I will also check SCIP and Papilo.

ambros-gleixner commented 1 year ago

Perfect! @matbesancon is right: bugfix, of course!

ju-manns commented 1 year ago

@musicinmybrain Thank you for you contribution! The changes have been merged and will be mirrored to github by tomorrow.