diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2017-05-30 13:18:47 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2017-05-31 17:09:42 (GMT) |
commit | f70b0bb36545befdf5c5d9d524d51a6ff14021f1 (patch) | |
tree | be3280d71e8a1f2c23cbc8e5f2e2500981aa029e /Modules/Compiler/SunPro-CXX.cmake | |
parent | 220ede74ff5dcd8a8078057c1ba71ecfa768f475 (diff) | |
download | CMake-f70b0bb36545befdf5c5d9d524d51a6ff14021f1.zip CMake-f70b0bb36545befdf5c5d9d524d51a6ff14021f1.tar.gz CMake-f70b0bb36545befdf5c5d9d524d51a6ff14021f1.tar.bz2 |
SunPro: Make sure all known versions get CXX98 defaults
Diffstat (limited to 'Modules/Compiler/SunPro-CXX.cmake')
-rw-r--r-- | Modules/Compiler/SunPro-CXX.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/Compiler/SunPro-CXX.cmake b/Modules/Compiler/SunPro-CXX.cmake index 2222b25..5cb7edc 100644 --- a/Modules/Compiler/SunPro-CXX.cmake +++ b/Modules/Compiler/SunPro-CXX.cmake @@ -43,9 +43,9 @@ if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.13) set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=c++11") set(CMAKE_CXX_LINK_WITH_STANDARD_COMPILE_OPTION 1) else() - set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-library=stlport") - set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-library=stlport") + set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-library=stlport4") + set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-library=stlport4") set(CMAKE_CXX_LINK_WITH_STANDARD_COMPILE_OPTION 1) endif() -__compiler_check_default_language_standard(CXX 5.13 98) +__compiler_check_default_language_standard(CXX 1 98) |