summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-04 11:54:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:56 (GMT)
commite7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c (patch)
treede0fcbb4d64adc851fde71e15f58afe798b5fe04 /Modules
parent32c2acd65c3d48433a50a6c2f9fc00c2a1a699f4 (diff)
downloadCMake-e7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c.zip
CMake-e7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c.tar.gz
CMake-e7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c.tar.bz2
Features: Add cxx_alignas.
cxx_alignof will be a separate feature known to CMake, because both can be implemented with separate backward compatibility versions.
Diffstat (limited to 'Modules')
-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 ee7f2e4..86d5557 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -6,6 +6,7 @@ set(_oldestSupported "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408")
set(_cmake_feature_test_cxx_reference_qualified_functions
"((__GNUC__ * 100 + __GNUC_MINOR__) > 408 || __GNUC_PATCHLEVEL__ >= 1) && __cplusplus >= 201103L")
set(GNU48_CXX11 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L")
+set(_cmake_feature_test_cxx_alignas "${GNU48_CXX11}")
set(_cmake_feature_test_cxx_inheriting_constructors "${GNU48_CXX11}")
# TODO: Should be supported by GNU 4.7
set(GNU47_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")