CMake/Tests/CompileFeatures/cxx_std_26.cpp
Raul Tambre f21dbf8f26 C++26: Fix C++/CUDA/HIP compile feature support
In commit f808d8afb9 (CMake: Support upcoming C++26 language level,
2022-08-19, v3.25.0-rc1~218^2) we forgot some necessary scaffolding.

Fixes: #25819
2024-04-09 11:38:59 +03:00

5 lines
108 B
C++

#include "cxx_std.h"
#if defined(CXX_STD) && CXX_STD <= CXX_STD_23
# error "cxx_std_26 not honored"
#endif