summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 17:34:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:55 (GMT)
commit0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8 (patch)
treeab8826f13ad1a7a1ed374b606b453927aa4d0645 /Modules/Compiler
parent8149fc909fb2c26235fea8999ea9396d7b45fba7 (diff)
downloadCMake-0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8.zip
CMake-0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8.tar.gz
CMake-0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8.tar.bz2
Features: Add cxx_nullptr.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/GNU-CXX-FeatureTests.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
index c7de17b..4539fd6 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -19,6 +19,7 @@ set(_cmake_feature_test_cxx_override "${GNU47_CXX11}")
# TODO: Should be supported by GNU 4.6
set(GNU46_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
set(_cmake_feature_test_cxx_constexpr "${GNU46_CXX11}")
+set(_cmake_feature_test_cxx_nullptr "${GNU46_CXX11}")
# TODO: Should be supported by GNU 4.5
set(GNU45_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
set(_cmake_feature_test_cxx_explicit_conversions "${GNU45_CXX11}")