2013-08-12 12:00:46 -05:00
|
|
|
# - Find DUNE localfunctions library
|
|
|
|
#
|
|
|
|
# Defines the following variables:
|
|
|
|
# dune-localfunctions_INCLUDE_DIRS Directory of header files
|
|
|
|
# dune-localfunctions_LIBRARIES Directory of shared object files
|
|
|
|
# dune-localfunctions_DEFINITIONS Defines that must be set to compile
|
|
|
|
# dune-localfunctions_CONFIG_VARS List of defines that should be in config.h
|
|
|
|
# HAVE_DUNE_LOCALFUNCTIONS Binary value to use in config.h
|
|
|
|
|
|
|
|
# Copyright (C) 2012 Uni Research AS
|
|
|
|
# This code is licensed under The GNU General Public License v3.0
|
|
|
|
|
|
|
|
include (OpmPackage)
|
|
|
|
find_opm_package (
|
|
|
|
# module name
|
|
|
|
"dune-localfunctions"
|
|
|
|
|
|
|
|
# required dependencies
|
2013-08-16 15:13:04 -05:00
|
|
|
"dune-common REQUIRED"
|
2013-08-12 12:00:46 -05:00
|
|
|
# header to search for
|
|
|
|
"dune/localfunctions/common/localbasis.hh"
|
|
|
|
|
|
|
|
# library to search for
|
|
|
|
""
|
|
|
|
|
|
|
|
# defines to be added to compilations
|
|
|
|
""
|
|
|
|
|
|
|
|
# test program
|
|
|
|
"#include <dune/localfunctions/common/localbasis.hh>
|
|
|
|
|
|
|
|
int main (void) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
"
|
|
|
|
# config variables
|
|
|
|
"")
|
|
|
|
#debug_find_vars ("dune-localfunctions")
|
|
|
|
|
|
|
|
# make version number available in config.h
|
|
|
|
include (UseDuneVer)
|
|
|
|
find_dune_version ("dune" "localfunctions")
|