llvm.org GIT mirror llvm / eca8aa6
CMake is funky on detecting Intel 17 as GCC compatible. Summary: This adds a fallback in case that the Intel compiler is failed to be detected correctly. Reviewers: chapuni Reviewed By: chapuni Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D27610 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293230 91177308-0d34-0410-b5e6-96231b3b80d8 Yichao Yu 3 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
66 set(LLVM_COMPILER_IS_GCC_COMPATIBLE OFF)
77 elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" )
88 set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
9 elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel" )
10 set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
911 endif()
1012 endif()