mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
Tests: Fix FortranCInterface test with MSVC+IntelLLVM
This commit is contained in:
1 parent
1146a66d60
commit
e75e912601
1 file changed
+1
-1
@@ -3,7 +3,7 @@ project(FortranC C Fortran)
|
||||
|
||||
# Skip this test for compilers not known to be compatible.
|
||||
if(NOT (CMAKE_C_COMPILER_ID STREQUAL CMAKE_Fortran_COMPILER_ID OR
|
||||
"${CMAKE_C_COMPILER_ID}-${CMAKE_Fortran_COMPILER_ID}" MATCHES "^(MSVC-Intel|(GNU|Clang)-(LLVMFlang|LFortran))$"))
|
||||
"${CMAKE_C_COMPILER_ID}-${CMAKE_Fortran_COMPILER_ID}" MATCHES "^(MSVC-(Intel|IntelLLVM)|(GNU|Clang)-(LLVMFlang|LFortran))$"))
|
||||
message(STATUS "${CMAKE_C_COMPILER_ID} C and ${CMAKE_Fortran_COMPILER_ID} Fortran not known to be compatible!")
|
||||
return()
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user