summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive.cmake
blob: 7311aecd8ec7505a9587c5cf769b457719c3ff95 (plain)
1
2
3
4
5
6

add_library(iface INTERFACE)
set_property(TARGET iface PROPERTY INTERFACE_COMPILE_FEATURES "not_a_feature")

add_library(somelib STATIC empty.cpp)
target_link_libraries(somelib iface)