Commit f1f21e30 authored by Daniel Pfeifer's avatar Daniel Pfeifer Committed by Brad King
Browse files

SunPro: set -library=stlport as standard compile option for C++98

parent 9316120c
......@@ -42,6 +42,10 @@ if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.13)
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)
else()
set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-library=stlport")
set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-library=stlport")
set(CMAKE_CXX_LINK_WITH_STANDARD_COMPILE_OPTION 1)
endif()
__compiler_check_default_language_standard(CXX 5.13 98)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment