summaryrefslogtreecommitdiff
path: root/Modules/Compiler/Intel-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-12 15:13:48 +0000
committerKitware Robot <kwrobot@kitware.com>2019-04-12 11:13:59 -0400
commit7f83e8033bd30ad112989f7dc17840fdf497586b (patch)
tree09941cb281f7b2fb9c8743a59af538d7a68a40b4 /Modules/Compiler/Intel-CXX.cmake
parente3ebad7def73fa656069835e916db3245ab70a62 (diff)
parent239a8a026626449bb09508d88a650eb0faad2a97 (diff)
downloadcmake-7f83e8033bd30ad112989f7dc17840fdf497586b.tar.gz
Merge topic 'memorize_cxx_compilers_with_full_98_support'
239a8a0266 CompileFeatures: Record when CXX compilers have gained full support for 98 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3213
Diffstat (limited to 'Modules/Compiler/Intel-CXX.cmake')
-rw-r--r--Modules/Compiler/Intel-CXX.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/Intel-CXX.cmake b/Modules/Compiler/Intel-CXX.cmake
index c115b6ade4..471dd4a4a8 100644
--- a/Modules/Compiler/Intel-CXX.cmake
+++ b/Modules/Compiler/Intel-CXX.cmake
@@ -30,6 +30,7 @@ if("x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC")
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.1)
set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "")
set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "")
+ set(CMAKE_CXX98_STANDARD__HAS_FULL_SUPPORT ON)
endif()
else()
@@ -64,6 +65,7 @@ else()
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.1)
set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98")
set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-std=gnu++98")
+ set(CMAKE_CXX98_STANDARD__HAS_FULL_SUPPORT ON)
endif()
endif()