summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileFeatures/RequireCXX98ExtVariable.cmake
blob: 0e3ef8dfb97b156e51939e7e314d1b4b0b82037a (plain)
1
2
3
4

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