diff -Naur blender-4.5.2/build_files/cmake/Modules/FindLLVM.cmake blender-4.5.2-patched/build_files/cmake/Modules/FindLLVM.cmake
--- blender-4.5.2/build_files/cmake/Modules/FindLLVM.cmake	2025-08-26 12:28:48.495762100 +0300
+++ blender-4.5.2-patched/build_files/cmake/Modules/FindLLVM.cmake	2025-08-26 12:29:44.171355200 +0300
@@ -47,6 +47,7 @@
           OUTPUT_STRIP_TRAILING_WHITESPACE)
   set(LLVM_ROOT_DIR ${LLVM_ROOT_DIR} CACHE PATH "Path to the LLVM installation")
 endif()
+file(TO_CMAKE_PATH "${LLVM_ROOT_DIR}" LLVM_ROOT_DIR)
 if(NOT LLVM_LIBPATH)
   execute_process(COMMAND ${LLVM_CONFIG} --libdir
           OUTPUT_VARIABLE LLVM_LIBPATH
@@ -54,6 +55,7 @@
   set(LLVM_LIBPATH ${LLVM_LIBPATH} CACHE PATH "Path to the LLVM library path")
   mark_as_advanced(LLVM_LIBPATH)
 endif()
+file(TO_CMAKE_PATH "${LLVM_LIBPATH}" LLVM_LIBPATH)
 
 if(LLVM_STATIC)
   find_library(LLVM_LIBRARY
@@ -66,7 +68,7 @@
                  LLVMAnalysis  # check for the static library as a fall-back
                PATHS ${LLVM_LIBPATH})
 endif()
-
+file(TO_CMAKE_PATH "${LLVM_LIBRARY}" LLVM_LIBRARY)
 
 if(LLVM_LIBRARY AND LLVM_ROOT_DIR AND LLVM_LIBPATH)
   if(LLVM_STATIC)
@@ -79,7 +81,7 @@
     string(REPLACE " " ";" LLVM_LIBRARY "${LLVM_LIBRARY}")
   endif()
 endif()
-
+file(TO_CMAKE_PATH "${LLVM_LIBRARY}" LLVM_LIBRARY)
 
 # handle the QUIETLY and REQUIRED arguments and set LLVM_FOUND to TRUE if
 # all listed variables are TRUE
