diff --git a/libclc/cmake/CMakeLLAsmInformation.cmake b/libclc/cmake/CMakeLLAsmInformation.cmake index 73fb28e13135..218e20a52fe8 100644 --- a/libclc/cmake/CMakeLLAsmInformation.cmake +++ b/libclc/cmake/CMakeLLAsmInformation.cmake @@ -1,6 +1,7 @@ if(NOT CMAKE_LLAsm_COMPILE_OBJECT) set(CMAKE_LLAsm_COMPILE_OBJECT - "${CMAKE_LLAsm_PREPROCESSOR} -E -P -x cl -o - | -o ") + "${CMAKE_LLAsm_PREPROCESSOR} -E -P -x cl -o .temp" + " -o .temp") endif() if(NOT CMAKE_LLAsm_CREATE_STATIC_LIBRARY)