diff --git a/llvm/cmake/modules/DetermineGCCCompatible.cmake b/llvm/cmake/modules/DetermineGCCCompatible.cmake index 1bf15fcba72f0..1369ebe9d0e21 100644 --- a/llvm/cmake/modules/DetermineGCCCompatible.cmake +++ b/llvm/cmake/modules/DetermineGCCCompatible.cmake @@ -7,5 +7,7 @@ if(NOT DEFINED LLVM_COMPILER_IS_GCC_COMPATIBLE) set(LLVM_COMPILER_IS_GCC_COMPATIBLE OFF) elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" ) set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON) + elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel" ) + set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON) endif() endif()