summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-04-24 12:54:37 (GMT)
committerBrad King <brad.king@kitware.com>2012-04-24 13:00:37 (GMT)
commit4f80896e6c945239631f5f85e51251b6ed868d0d (patch)
treeb484d6f87f556f7da868a0f2880e865fb22e375c /Modules
parent3d28c5dc47fec7257e2da3e6d9cc467632438b11 (diff)
downloadCMake-4f80896e6c945239631f5f85e51251b6ed868d0d.zip
CMake-4f80896e6c945239631f5f85e51251b6ed868d0d.tar.gz
CMake-4f80896e6c945239631f5f85e51251b6ed868d0d.tar.bz2
Intel: On Windows use /EHsc instead of deprecated /GX (#13163)
Use of the deprecated option with Intel 2011 produces icl: command line remark #10010: option '/GX' is deprecated and will be removed in a future release. See '/help deprecated' so use its replacement option which has been supported for several older versions anyway.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-Intel-CXX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-Intel-CXX.cmake b/Modules/Platform/Windows-Intel-CXX.cmake
index 2845b0f..ec5f0ae 100644
--- a/Modules/Platform/Windows-Intel-CXX.cmake
+++ b/Modules/Platform/Windows-Intel-CXX.cmake
@@ -1,4 +1,4 @@
include(Platform/Windows-Intel)
set(_COMPILE_CXX " /TP")
-set(_FLAGS_CXX " /GX /GR")
+set(_FLAGS_CXX " /EHsc /GR")
__windows_compiler_intel(CXX)