DorieMacros.cmake 496 Bytes
Newer Older
Dion Haefner's avatar
Dion Haefner committed
1 2 3 4 5 6 7 8
# File for module specific CMake tests.

# find all required packages
FIND_PACKAGE(HDF5 REQUIRED COMPONENTS C)
FIND_PACKAGE(FFTW REQUIRED)
FIND_PACKAGE(SuperLU REQUIRED)
FIND_PACKAGE(MPI REQUIRED)

9 10 11 12
if(NOT dune-uggrid_FOUND)
	FIND_PACKAGE(UG REQUIRED)
endif()

13 14 15
FIND_PACKAGE(METIS)
FIND_PACKAGE(ParMETIS)

Dion Haefner's avatar
Dion Haefner committed
16 17 18 19 20
include_directories(${FFTW_INCLUDES})
include_directories(${HDF5_INCLUDE_DIRS})

set(DUNE_LIBS ${DUNE_LIBS} ${FFTW_LIBRARIES} ${HDF5_LIBRARIES})
MESSAGE(STATUS "DUNE Libraries: ${DUNE_LIBS}")