FIND_LIBRARY(AMD_LIBRARY
NAMES amd
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(AMD DEFAULT_MSG AMD_LIBRARY AMD_INCLUDE_DIR)
FIND_LIBRARY(ARPACK_LIBRARY
NAMES arpack
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ARPACK DEFAULT_MSG ARPACK_LIBRARY)
FIND_LIBRARY(METIS_LIBRARY
NAMES metis
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
#
FIND_LIBRARY(NETCDF_LIBRARY
NAMES netcdf_c++ netcdf_cpp
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(NETCDF DEFAULT_MSG NETCDF_LIBRARY NETCDF_INCLUDE_DIR)
FIND_LIBRARY(P4EST_LIBRARY
NAMES p4est
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_LIBRARY(P4EST_DEBUG_LIBRARY
NAMES p4est_debug p4est.g
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(P4EST DEFAULT_MSG P4EST_LIBRARY P4EST_INCLUDE_DIR)
FIND_LIBRARY(SC_LIBRARY
NAMES sc
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_LIBRARY(SC_DEBUG_LIBRARY
NAMES sc_debug sc.g
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SC DEFAULT_MSG SC_LIBRARY SC_INCLUDE_DIR)
FIND_LIBRARY(TBB_LIBRARY
NAMES tbb
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_LIBRARY(TBB_DEBUG_LIBRARY
NAMES tbb_debug
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TBB DEFAULT_MSG TBB_LIBRARY TBB_INCLUDE_DIR)
FIND_LIBRARY(UMFPACK_LIBRARY
NAMES umfpack
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(UMFPACK DEFAULT_MSG UMFPACK_LIBRARY UMFPACK_INCLUDE_DIR)