
MSVC >=19.27 supports a C11 switch. The `c_restrict` feature has also been implemented. Fixes: #21069
10 lines
317 B
CMake
10 lines
317 B
CMake
set(_cmake_oldestSupported "_MSC_VER >= 1600")
|
|
|
|
# Not yet supported:
|
|
#set(_cmake_feature_test_c_static_assert "")
|
|
|
|
set(_cmake_feature_test_c_restrict "_MSC_VER >= 1927")
|
|
|
|
set(_cmake_feature_test_c_variadic_macros "${_cmake_oldestSupported}")
|
|
set(_cmake_feature_test_c_function_prototypes "${_cmake_oldestSupported}")
|