diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-30 16:07:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-07 10:17:49 (GMT) |
commit | 205215fb8a8aa950026d914377a54ae358a1c02a (patch) | |
tree | 2e847006ba3a5e19448058ff09ad6b496fe4b39b /Tests/CompileFeatures | |
parent | 1df2116bfaa4c575404ae1eef225aed1530d668a (diff) | |
download | CMake-205215fb8a8aa950026d914377a54ae358a1c02a.zip CMake-205215fb8a8aa950026d914377a54ae358a1c02a.tar.gz CMake-205215fb8a8aa950026d914377a54ae358a1c02a.tar.bz2 |
cmTarget: Add CXX_STANDARD_REQUIRED to control decay.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r-- | Tests/CompileFeatures/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt index 501138d..a991e77 100644 --- a/Tests/CompileFeatures/CMakeLists.txt +++ b/Tests/CompileFeatures/CMakeLists.txt @@ -31,6 +31,9 @@ add_executable(CompileFeatures main.cpp) set_property(TARGET CompileFeatures PROPERTY COMPILE_FEATURES "cxx_auto_type" ) +set_property(TARGET CompileFeatures + PROPERTY CXX_STANDARD_REQUIRED TRUE +) add_executable(GenexCompileFeatures main.cpp) set_property(TARGET GenexCompileFeatures |