CMake/Tests/RunCMake/CompileFeatures/NotAFeatureGenex.cmake

4 lines
115 B
CMake

add_library(somelib STATIC empty.cpp)
set_property(TARGET somelib PROPERTY COMPILE_FEATURES "$<1:not_a_feature>")