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:
Roland Kaufmann
2012-12-05 10:22:38 +01:00
parent ccb85102e8
commit 3045092436
4 changed files with 36 additions and 43 deletions

View File

@@ -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"