mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
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.
This commit is contained in:
1 parent
3d28c5dc47
commit
4f80896e6c
1 file changed
+1
-1
@@ -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)
|
||||
Reference in new issue
Block a user