diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-19 21:01:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-26 17:26:39 (GMT) |
commit | 9316120c80119c64a8d201bd70d7c58852ff6d7e (patch) | |
tree | 290fcf240b448b845d838ac50fa93fd8cbbdf020 | |
parent | 783fbb77e7b48d5816f16773f977250453cd43ee (diff) | |
download | CMake-9316120c80119c64a8d201bd70d7c58852ff6d7e.zip CMake-9316120c80119c64a8d201bd70d7c58852ff6d7e.tar.gz CMake-9316120c80119c64a8d201bd70d7c58852ff6d7e.tar.bz2 |
SunPro: add standard compile option for C++03
-rw-r--r-- | Modules/Compiler/SunPro-CXX.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Compiler/SunPro-CXX.cmake b/Modules/Compiler/SunPro-CXX.cmake index 5db7987..f8030f1 100644 --- a/Modules/Compiler/SunPro-CXX.cmake +++ b/Modules/Compiler/SunPro-CXX.cmake @@ -37,8 +37,8 @@ set(CMAKE_CXX_CREATE_STATIC_LIBRARY "<CMAKE_RANLIB> <TARGET> ") if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.13) - set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "") - set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "") + set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++03") + set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-std=c++03") set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-std=c++11") set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=c++11") set(CMAKE_CXX_LINK_WITH_STANDARD_COMPILE_OPTION 1) |