Demote consequence of not having C++11 support

This module sets individual flags for each feature; there is not one
"CXX11Features_FOUND" flags which is set. Thus, when putting the
module as REQUIRED, the only consequence is that we cannot disable
searching for it.

Instead, we make it optional, meaning that the flags won't get set if
it isn't included and the dependent modules will adjust accordingly.
This commit is contained in:
Roland Kaufmann 2013-05-22 20:50:59 +02:00
parent 7ee481a601
commit d6c2e52d63
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ find_opm_package (
"dune-common"
# dependencies
"CXX11Features REQUIRED;
"CXX11Features;
BLAS REQUIRED;
LAPACK REQUIRED;
MPI

View File

@ -19,7 +19,7 @@ find_opm_package (
# TODO: we should probe for all the HAVE_* values listed below;
# however, we don't actually use them in our implementation, so
# we just include them to forward here in case anyone else does
"CXX11Features REQUIRED;
"CXX11Features;
dune-common REQUIRED
"
# header to search for

View File

@ -19,7 +19,7 @@ find_opm_package (
# TODO: we should probe for all the HAVE_* values listed below;
# however, we don't actually use them in our implementation, so
# we just include them to forward here in case anyone else does
"CXX11Features REQUIRED;
"CXX11Features;
dune-common REQUIRED;
dune-geometry REQUIRED
"