Skip to content

Commit 671b391

Browse files
Use the system-installed slangc compiler when building without dependencies (#9480)
Use the system-installed `slangc` compiler (from the Vulkan SDK etc) when the project is built without one.
1 parent 992ec72 commit 671b391

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/standard-modules/neural/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ elseif(SLANG_ENABLE_SLANGC)
3939
set(SLANG_COMPILER slangc)
4040
set(SLANG_COMPILER_DEPENDENCY slangc)
4141
else()
42-
set(SLANG_COMPILER)
42+
# As a fallback, use the system-installed `slangc` compiler
43+
set(SLANG_COMPILER slangc)
4344
set(SLANG_COMPILER_DEPENDENCY)
4445
endif()
4546

0 commit comments

Comments
 (0)