mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Tests: Disable MFC test for IntelLLVM due to #18311
clang-cl cannot deal with implicit dependencies in UTF16 files (see #18311). IntelLLVM inherits this behavior from Clang. The MFC test uses `rc` in the way described in #18311 and gets the same error described in #18311. Disable the test until #18311 is fixed. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
This commit is contained in:
committed by
Brad King
parent
ccdf7c0005
commit
9b5fd04905
@@ -2018,12 +2018,19 @@ if(BUILD_TESTING)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# For the Watcom WMake generator, avoid the MFC test by default.
|
||||
if(CTEST_RUN_MFC)
|
||||
# For the Watcom WMake generator, avoid the MFC test by default.
|
||||
if("${CMAKE_GENERATOR}" MATCHES "WMake")
|
||||
message(STATUS
|
||||
"using the Watcom WMake generator, avoiding MFC test")
|
||||
set(CTEST_RUN_MFC OFF)
|
||||
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "IntelLLVM")
|
||||
# clang-cl cannot deal with implicit dependencies in UTF16 files
|
||||
# (see #18311). IntelLLVM inherits this behavior from Clang.
|
||||
# TODO: maybe clang should also skip the MFC test
|
||||
message(STATUS
|
||||
"using generator other than Visual Studio with clang-cl, avoiding MFC test")
|
||||
set(CTEST_RUN_MFC OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user