Docs: Add missing whitespace in the cmake warning message (#150929)

A trailing whitespace is needed to be concatenated to the following string correctly.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/150929
Approved by: https://github.com/Skylion007
This commit is contained in:
Yuki Kobayashi 2025-04-10 02:50:56 +00:00 committed by PyTorch MergeBot
parent 3d3fcaaf7b
commit 78b3d71ece

View File

@ -92,7 +92,7 @@ endif()
if(USE_XPU)
include(${CMAKE_CURRENT_LIST_DIR}/public/xpu.cmake)
if(NOT PYTORCH_FOUND_XPU)
message(WARNING "Not compiling with XPU. Could NOT find SYCL."
message(WARNING "Not compiling with XPU. Could NOT find SYCL. "
"Suppress this warning with -DUSE_XPU=OFF.")
caffe2_update_option(USE_XPU OFF)
endif()