CMake/Tests/RunCMake/CompileFeatures/NoSupportedCFeaturesGenex.c...

6 lines
120 B
CMake

enable_language(C)
add_library(no_features empty.c)
target_compile_features(no_features PRIVATE $<1:c_static_assert>)