summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileFeatures/RequireCXX11ExtVariable.cmake
blob: 29703db68a80dbaf574c48129b450d2242a037ab (plain)
1
2
3
4

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