mirror of
https://github.com/reactos/CMake.git
synced 2025-01-22 03:16:03 +00:00
SunPro: Make sure all known versions get CXX98 defaults
This commit is contained in:
parent
220ede74ff
commit
f70b0bb365
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user