/usr/share/dune/cmake/modules/DuneCommonMacros.cmake is in libdune-common-dev 2.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # .. cmake_module::
#
# This modules content is executed whenever a module required or suggests dune-common!
#
# enforce C++-14
dune_require_cxx_standard(MODULE "dune-common" VERSION 14)
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)
endif(Fortran_Works)
find_package(GMP)
include(AddGMPFlags)
find_package(Inkscape)
include(UseInkscape)
include(FindMProtect)
# try to find the Vc library
find_package(Vc)
include(AddVcFlags)
set_package_info("Vc" "C++ Vectorization library" "https://github.com/VcDevel/Vc")
|