fix the opm-cmake duncontrol support
This commit is contained in:
parent
f9dbdb000e
commit
e8f0f6a48f
4
configure
vendored
4
configure
vendored
@ -6,7 +6,7 @@ src_dir=$(dirname $0)
|
||||
mod_dir=
|
||||
for OPT in "$@"; do
|
||||
case "$OPT" in
|
||||
--with-opm-macros=*)
|
||||
--with-opm-cmake=*)
|
||||
# remove everything before equal sign and assign the rest
|
||||
mod_dir=${OPT#*=}
|
||||
# tilde expansion; note that doing eval may have side effects
|
||||
@ -27,7 +27,7 @@ fi
|
||||
|
||||
# terminate with error message here if the module directory is not found
|
||||
if [ ! -r "$mod_dir/$conf_file" ]; then
|
||||
echo Build macros not located in \"$mod_dir\", use --with-opm-macros= to specify! 1>&2
|
||||
echo Build macros not located in \"$mod_dir\", use --with-opm-cmake= to specify! 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -4,4 +4,4 @@ Description: Open Porous Media Initiative Core Library
|
||||
Version: 1.1
|
||||
Label: 2013.10
|
||||
Maintainer: atgeirr@sintef.no
|
||||
Depends: dune-common (>= 2.2) dune-istl (>= 2.2) opm-parser
|
||||
Depends: dune-common (>= 2.2) dune-istl (>= 2.2) opm-cmake opm-parser
|
||||
|
Loading…
Reference in New Issue
Block a user