From 3716fbd0abe39163cf9c7a7328ffd551cf758b4c Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Fri, 10 Jan 2025 22:34:22 +0800 Subject: [PATCH] fix script --- scripts/validate_options.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate_options.cmake b/scripts/validate_options.cmake index 97e29b75e..e9a4b66b4 100644 --- a/scripts/validate_options.cmake +++ b/scripts/validate_options.cmake @@ -110,7 +110,7 @@ if (LUISA_COMPUTE_ENABLE_FALLBACK) find_package(LLVM CONFIG) find_package(embree CONFIG) if (NOT LLVM_FOUND AND WIN32) - include(${CMAKE_SOURCE_DIR}/scripts/download_and_patch_llvm.cmake) + include(${CMAKE_CURRENT_SOURCE_DIR}/scripts/download_and_patch_llvm.cmake) endif () if (NOT LLVM_FOUND OR LLVM_VERSION VERSION_LESS 16 OR NOT embree_FOUND OR embree_VERSION VERSION_LESS 3)