summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaan <daanl@outlook.com>2022-10-31 15:32:31 -0700
committerGitHub <noreply@github.com>2022-10-31 15:32:31 -0700
commit4c241139e9c2f0bb92ab50491f6e961e225fce54 (patch)
tree1d65853222bd3df885d3f61e4a28901f71739afb
parentd8dd297974c97983db9f717a3e0f7820b529ef7f (diff)
parent8cb6ba22215c923805ec10d621f5a9f23a7e4140 (diff)
Merge pull request #588 from TApplencourt/dev
Add support for IntelLLVM
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa1b9c2..3ffb7f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -210,7 +210,7 @@ if(MI_USE_CXX)
if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang|Clang")
list(APPEND mi_cflags -Wno-deprecated)
endif()
- if(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
+ if(CMAKE_CXX_COMPILER_ID MATCHES "Intel" AND NOT CMAKE_CXX_COMPILER_ID MATCHES "IntelLLVM")
list(APPEND mi_cflags -Kc++)
endif()
endif()