summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/SunPro-CXX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/SunPro-CXX.cmake')
-rw-r--r--Modules/Compiler/SunPro-CXX.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Compiler/SunPro-CXX.cmake b/Modules/Compiler/SunPro-CXX.cmake
index cb37713..c7bc734 100644
--- a/Modules/Compiler/SunPro-CXX.cmake
+++ b/Modules/Compiler/SunPro-CXX.cmake
@@ -37,7 +37,9 @@ if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.13)
set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=c++11")
endif()
-set(CMAKE_CXX_STANDARD_DEFAULT 98)
+if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.13)
+ set(CMAKE_CXX_STANDARD_DEFAULT 98)
+endif()
macro(cmake_record_cxx_compile_features)
macro(_get_solaris_studio_features std_version list)