diff --git a/make/cpp2asm_support.cmake b/make/cpp2asm_support.cmake index e9b1e77d8a7..faff09612ba 100644 --- a/make/cpp2asm_support.cmake +++ b/make/cpp2asm_support.cmake @@ -178,6 +178,8 @@ if (NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio") # NASM support was added in 2.8.3. It clears ASM_DIALECT for us. enable_language(ASM_NASM) else (APPLE AND NOT AARCH64) + # XXX i#6326: Avoid a cmake hang by setting this. + set(CMAKE_ASM_LINKER_DEPFILE_SUPPORTED TRUE) enable_language(ASM) endif () endif ()