summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileFeatures/RequireCXX11Ext.cmake
blob: 10b251aa431899130ee34a8e22ea0fbdb7b0f18b (plain)
1
2
3
4

add_library(foo empty.cpp)
set_property(TARGET foo PROPERTY CXX_STANDARD 11)
set_property(TARGET foo PROPERTY CXX_STANDARD_REQUIRED TRUE)