From b16eb592cc31b7cc9ba3d2f9525486c282996a9e Mon Sep 17 00:00:00 2001 From: Lujin Wang <143145775+lujinwangnv@users.noreply.github.com> Date: Fri, 30 May 2025 12:52:55 -0700 Subject: Change SLANG_OVERRIDE_xxx_PATH and fix header file path (#7207) * Fix lua header file path Add two missed files in #7167 * Fix lua header file path Add two missed files in #7167 * Leave lua/ in the path to avoid name conflict * Remove xxx from path of SLANG_OVERRIDE_xxx_PATH Change SLANG_OVERRIDE_xxx_PATH from path-to-parent-folder/xxx to path-to-parent-folder and add "xxx/" back to "#include", which helps to avoid the potential name conflict of external tools. * format code --------- Co-authored-by: Yong He Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- source/slang/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/slang/CMakeLists.txt b/source/slang/CMakeLists.txt index daea0e002..9ebf6b2bd 100644 --- a/source/slang/CMakeLists.txt +++ b/source/slang/CMakeLists.txt @@ -107,7 +107,7 @@ if(NOT SLANG_USE_SYSTEM_SPIRV_HEADERS) ) else() set(SLANG_SPIRV_HEADERS_INCLUDE_DIR - "${SLANG_OVERRIDE_SPIRV_HEADERS_PATH}/include" + "${SLANG_OVERRIDE_SPIRV_HEADERS_PATH}/spirv-headers/include" ) endif() endif() -- cgit v1.2.3