Skip to content

Commit e1d48f0

Browse files
committed
Fixed CMake argument omission causing build failure in Shader modules chapter
1 parent 82fe2e6 commit e1d48f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/03_Drawing_a_triangle/02_Graphics_pipeline_basics/01_Shader_modules.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ CMake function:
326326
[,cmake]
327327
----
328328
function (add_slang_shader_target TARGET)
329-
cmake_parse_arguments ("SHADER" "" "SOURCES" ${ARGN})
329+
cmake_parse_arguments ("SHADER" "" "SOURCES" "" ${ARGN})
330330
set (SHADERS_DIR ${CMAKE_CURRENT_LIST_DIR}/shaders)
331331
set (ENTRY_POINTS -entry vertMain -entry fragMain)
332332
add_custom_command (

0 commit comments

Comments
 (0)