Closed Zopolis4 closed 2 weeks ago
What is a benefit of this? Especially for non GNU installation like Windows?
This doesn't affect a windows installation, as it only modifies unix installation code.
But what it the benefit of this PR? What kind of problem are you solving?
Avoiding the need to manually define CMAKE_INSTALL_LIBDIR
as lib64
on systems where this is the default value.
Maybe change the default to lib64?
What are systems with lib
today?
Maybe change the default to lib64? What are systems with
lib
today?
Linux installations for i686, older Raspberry PI distributions, other 32 bit embedded systems don't have lib64
as far as I know.
Not all distros use lib64
-- using GNUInstallDirs
ensures that tesseract will match whatever is the default for that platform.
I checked openSUSE and it use booth (lib & lib64)
I make basic build&install test on Windows and openSUSE and I do not see problem with this PR.
Use CMake's logic to define
CMAKE_INSTALL_LIBDIR
rather than relying on a user override, and make use of the additional abstraction that theGNUInstallDirs
module allows.