FIND_PATH(AMD_INCLUDE_DIR amd.h
HINTS
$ENV{AMD_INCLUDE_DIR}
- ${AMD_INCLUDE_DIR}
)
FIND_LIBRARY(AMD_LIBRARY
NAMES amd
PATHS
$ENV{AMD_LIBRARY_DIR}
- ${AMD_LIBRARY_DIR}
PATH_SUFFIXES lib64 lib
)
INCLUDE(FindPackageHandleStandardArgs)
-FIND_PATH(METIS_INCLUDE_DIR metis/metis.h
+FIND_PATH(METIS_INCLUDE_DIR metis.h
HINTS
- $ENV{NETCDF_INCLUDE_DIR}
- ${NETCDF_INCLUDE_DIR}
+ $ENV{METIS_INCLUDE_DIR}
+ PATH_SUFFIXES metis
)
FIND_LIBRARY(METIS_LIBRARY
NAMES metis
PATHS
- $ENV{NETCDF_LIBRARY_DIR}
- ${NETCDF_LIBRARY_DIR}
+ $ENV{METIS_LIBRARY_DIR}
PATH_SUFFIXES lib64 lib
)
FIND_PATH(NETCDF_INCLUDE_DIR netcdf.hh
HINTS
$ENV{NETCDF_INCLUDE_DIR}
- ${NETCDF_INCLUDE_DIR}
)
FIND_LIBRARY(NETCDF_LIBRARY
NAMES netcdf_c++ netcdf_cpp
PATHS
$ENV{NETCDF_LIBRARY_DIR}
- ${NETCDF_LIBRARY_DIR}
PATH_SUFFIXES lib64 lib
)
FIND_PATH(TBB_INCLUDE_DIR tbb/parallel_reduce.h
HINTS
$ENV{TBB_INCLUDE_DIR}
- ${TBB_INCLUDE_DIR}
)
FIND_LIBRARY(TBB_LIBRARY
NAMES tbb
PATHS
$ENV{TBB_LIBRARY_DIR}
- ${TBB_LIBRARY_DIR}
PATH_SUFFIXES lib64 lib
)
NAMES tbb_debug
PATHS
$ENV{TBB_DEBUG_LIBRARY_DIR}
- ${TBB_DEBUG_LIBRARY_DIR}
PATH_SUFFIXES lib64 lib
)
FIND_PATH(UMFPACK_INCLUDE_DIR umfpack.h
HINTS
$ENV{UMFPACK_INCLUDE_DIR}
- ${UMFPACK_INCLUDE_DIR}
)
FIND_LIBRARY(UMFPACK_LIBRARY
NAMES umfpack
PATHS
$ENV{UMFPACK_LIBRARY_DIR}
- ${UMFPACK_LIBRARY_DIR}
PATH_SUFFIXES lib64 lib
)
#ifdef DEAL_II_USE_METIS
extern "C"
{
-#include <metis/metis.h>
+#include <metis.h>
}
#endif
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams