summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-08 15:27:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-08 15:27:53 (GMT)
commit7b3def93b630ee7964b1d33b2b601e07c7797438 (patch)
tree574eca7299af0b5a5898d6aff6b83dc5aef66311 /Source/cmTarget.cxx
parent6eafe843ca632eadd896cca95c42420b48e2a9a2 (diff)
parent205215fb8a8aa950026d914377a54ae358a1c02a (diff)
downloadCMake-7b3def93b630ee7964b1d33b2b601e07c7797438.zip
CMake-7b3def93b630ee7964b1d33b2b601e07c7797438.tar.gz
CMake-7b3def93b630ee7964b1d33b2b601e07c7797438.tar.bz2
Merge topic 'decay-language-version'
205215fb cmTarget: Add CXX_STANDARD_REQUIRED to control decay. 1df2116b Features: Decay language flag if requested is not available. c4f4dac2 Project: Fix exit-on-error with compile feature tests. 5bb7ce72 Project: Use nullary form of main for compile feature tests. 64254e7a Project: Remove extern from static string in feature tests. 0d9c99bf Help: Fix order of help entries. dc7639bd Tests: Fix name of cache variable.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index a27f76b..dda855f 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -315,6 +315,7 @@ void cmTarget::SetMakefile(cmMakefile* mf)
this->SetPropertyDefault("MACOSX_RPATH", 0);
this->SetPropertyDefault("NO_SYSTEM_FROM_IMPORTED", 0);
this->SetPropertyDefault("CXX_STANDARD", 0);
+ this->SetPropertyDefault("CXX_STANDARD_REQUIRED", 0);
this->SetPropertyDefault("CXX_EXTENSIONS", 0);
}