cmake/Tests/RunCMake/try_compile/CMP0128-NEW.cmake

8 lines
190 B
CMake
Raw Normal View History

2022-11-03 08:47:52 +01:00
cmake_policy(SET CMP0128 NEW)
set(check_cxx_std "
#if __cplusplus > 199711L && __cplusplus <= 201103L
# error Compiler is incorrectly in C++11 mode.
#endif
")
include(CMP0128-common.cmake)