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:
parent
7ee481a601
commit
d6c2e52d63
@ -16,7 +16,7 @@ find_opm_package (
|
||||
"dune-common"
|
||||
|
||||
# dependencies
|
||||
"CXX11Features REQUIRED;
|
||||
"CXX11Features;
|
||||
BLAS REQUIRED;
|
||||
LAPACK REQUIRED;
|
||||
MPI
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user