# This cmake file holds tests and directives that are executed # for the module dune-common and have to be executed by # all dependent modules # # Specifically it configure the DUNE debug streams and # tests whether LAPACK and BLAS are available. # include(DuneStreams) dune_set_minimal_debug_level() if(Fortran_Works) # search for lapack find_package(LAPACK) set(HAVE_LAPACK ${LAPACK_FOUND}) if(${HAVE_LAPACK}) dune_register_package_flags(LIBRARIES "${LAPACK_LIBRARIES}") endif(${HAVE_LAPACK}) set(HAVE_BLAS ${BLAS_FOUND}) else(Fortran_Works) set(HAVE_LAPACK Off) set(HAVE_BLAS Off) # Write an empty FC header file(WRITE ${CMAKE_BINARY_DIR}/FC.h "") endif(Fortran_Works) find_package(GMP) include(AddGMPFlags) find_package(Inkscape) include(UseInkscape) include(FindMProtect)