linuxbox2 / ntirpc

New development on tirpc
Other
24 stars 96 forks source link

A bunch of CMake-related fixes #15

Closed mkszuba closed 7 years ago

mkszuba commented 8 years ago

To begin with, the pkgconfig data file should now be actually usable. Secondly, use the GNUInstallDirs (available if the CMake version is recent enough) to determine the value of LIB_INSTALL_DIR - it is more portable (e.g. supports Debian-style lib/ in addition to lib/lib32/lib64), it handles 32-bit builds on 64-bit systems better (something I ran into while trying to write a ntirpc ebuild for Gentoo), and it sets a bunch of other variables which may come in handy in the future.