Commit 6bb9656c authored by Steffen Müthing's avatar Steffen Müthing

[cmake] Deprecate shipped CMake modules for stuff that we can rely on by now

Our supported compilers all have `decltype` and variable templates, so
we don't need to check for them any longer, and we don't need GCC's
`typeof` extension anymore, so deprecate the shipped modules.
parent 7e181d99
......@@ -7,6 +7,9 @@
# perform tests
include(CheckCXXSourceCompiles)
# deprecation warning
message(DEPRECATION "FindCXXDecltype is deprecated and will be removed after the release of dune-typetree 2.6")
check_cxx_source_compiles("
template<typename A, typename B>
struct check_equal;
......
......@@ -7,6 +7,9 @@
# perform tests
include(CheckCXXSourceCompiles)
# deprecation warning
message(DEPRECATION "FindCXXTemplateAliases is deprecated and will be removed after the release of dune-typetree 2.6")
check_cxx_source_compiles("
template<typename T, typename U>
struct A
......
......@@ -8,6 +8,9 @@
# perform tests
include(CheckCXXSourceCompiles)
# deprecation warning
message(DEPRECATION "FindGCCTypeof is deprecated and will be removed after the release of dune-typetree 2.6")
check_cxx_source_compiles("
template<typename A, typename B>
struct check_equal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment