Fix CMake Hamlib package finder on systems that use */lib64 LIBDIRS

This commit is contained in:
Bill Somerville 2018-11-15 01:28:19 +00:00
parent dd28dd2670
commit b7b30452b1

View File

@ -16,7 +16,7 @@ set (hamlib_LIBRARY_DIRS)
# pkg-config?
find_path (__hamlib_pc_path NAMES hamlib.pc
PATH_SUFFIXES lib/pkgconfig
PATH_SUFFIXES lib/pkgconfig lib64/pkgconfig
)
if (__hamlib_pc_path)
set (ENV{PKG_CONFIG_PATH} "${__hamlib_pc_path}" "$ENV{PKG_CONFIG_PATH}")