Specify dependencies as one list, including args
Allow arguments to be used on the list of dependencies, this facilitates searching for things like e.g. Boost, and there is now only need for one list since REQUIRED can be one of the arguments.
This commit is contained in:
@@ -15,12 +15,11 @@ find_opm_package (
|
||||
# module name
|
||||
"dune-common"
|
||||
|
||||
# required dependencies
|
||||
"BLAS;LAPACK"
|
||||
|
||||
# optional dependencies
|
||||
""
|
||||
|
||||
# dependencies
|
||||
"CXX11Features REQUIRED;
|
||||
BLAS REQUIRED;
|
||||
LAPACK REQUIRED
|
||||
"
|
||||
# header to search for
|
||||
"dune/common/fvector.hh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user