diff options
| author | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-08-26 11:01:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 18:01:07 +0000 |
| commit | 0b87355f946b9a0f8b7fa9225369dade3d5bf84a (patch) | |
| tree | d2c23abda1e6ed24e9869cecd68a257fd32a685e /CMakePresets.json | |
| parent | b36659eca38be716bee43c01c6584bda5f91166a (diff) | |
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 <ellieh+slangbot@nvidia.com>
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'CMakePresets.json')
| -rw-r--r-- | CMakePresets.json | 3 |
1 files changed, 2 insertions, 1 deletions
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 } } ], |
