summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-04 11:55:27 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:56 (GMT)
commit7605fee593a00e0345a4842241ff1f2a043b7ebf (patch)
tree8124fd65377df2ada097d62348cf2aceca5c3a59 /Modules
parente7d6e1f44f0f3bcf7ded76ec8d649b7a0552778c (diff)
downloadCMake-7605fee593a00e0345a4842241ff1f2a043b7ebf.zip
CMake-7605fee593a00e0345a4842241ff1f2a043b7ebf.tar.gz
CMake-7605fee593a00e0345a4842241ff1f2a043b7ebf.tar.bz2
Features: Add cxx_alignof.
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 86d5557..26b7ff6 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -7,6 +7,7 @@ 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_alignof "${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")