diff options
author | Brad King <brad.king@kitware.com> | 2018-03-21 12:53:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-21 12:53:53 (GMT) |
commit | 2006e981dab0ea228f611756cdefef8ccfa33a51 (patch) | |
tree | 382dfc25f72f102b2cbcfd85a8b91d76f4755278 /Modules | |
parent | 6b9172d759b5f00069e7d2c65f1c649d4a3b0a70 (diff) | |
parent | 4267960fc9751b1c7557cf1ef5234b328be7c839 (diff) | |
download | CMake-2006e981dab0ea228f611756cdefef8ccfa33a51.zip CMake-2006e981dab0ea228f611756cdefef8ccfa33a51.tar.gz CMake-2006e981dab0ea228f611756cdefef8ccfa33a51.tar.bz2 |
Merge branch 'sunpro-5.15' into release-3.11
Merge-request: !1875
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/SunPro-CXX-FeatureTests.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/Compiler/SunPro-CXX-FeatureTests.cmake b/Modules/Compiler/SunPro-CXX-FeatureTests.cmake index 60280ca..279d875 100644 --- a/Modules/Compiler/SunPro-CXX-FeatureTests.cmake +++ b/Modules/Compiler/SunPro-CXX-FeatureTests.cmake @@ -1,10 +1,14 @@ # Based on GNU 4.8.2 -# http://docs.oracle.com/cd/E37069_01/html/E37071/gncix.html +# https://docs.oracle.com/cd/E37069_01/html/E37071/gncix.html +# https://docs.oracle.com/cd/E77782_01/html/E77784/gkeza.html # Reference: http://gcc.gnu.org/projects/cxx0x.html set(_cmake_oldestSupported "__SUNPRO_CC >= 0x5130") +set(SolarisStudio126_CXX11 "(__SUNPRO_CC >= 0x5150) && __cplusplus >= 201103L") +set(_cmake_feature_test_cxx_decltype_auto "${SolarisStudio126_CXX11}") + set(SolarisStudio125_CXX11 "(__SUNPRO_CC >= 0x5140) && __cplusplus >= 201103L") set(_cmake_feature_test_cxx_binary_literals "${SolarisStudio125_CXX11}") set(_cmake_feature_test_cxx_reference_qualified_functions "${SolarisStudio125_CXX11}") |