From 0b87355f946b9a0f8b7fa9225369dade3d5bf84a Mon Sep 17 00:00:00 2001 From: Gangzheng Tong Date: Tue, 26 Aug 2025 11:01:07 -0700 Subject: Update slang-rhi deps for gfx-unit-test (#8237) This PR marks the `slang-rhi` a required dependecy for `platform` and `gfx-unit-test`, and only build them when `SLANG_ENABLE_SLANG_RHI=ON`. This should allow the slang still to be built without those tests components when `SLANG_ENABLE_SLANG_RHI=OFF`. --------- Co-authored-by: slangbot Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- CMakePresets.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakePresets.json') diff --git a/CMakePresets.json b/CMakePresets.json index 91f37de08..81f97d4e7 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -91,7 +91,8 @@ "description": "Build the compile time generators used in building Slang", "cacheVariables": { "SLANG_SLANG_LLVM_FLAVOR": "DISABLE", - "SLANG_ENABLE_SLANG_RHI": false + "SLANG_ENABLE_SLANG_RHI": false, + "SLANG_ENABLE_TESTS": false } } ], -- cgit v1.2.3