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.
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.