CMake/Tests/RunCMake/CompileFeatures/NoSupportedCFeatures.cmake

6 lines
115 B
CMake

enable_language(C)
add_library(no_features empty.c)
target_compile_features(no_features PRIVATE c_static_assert)