Skip to content

Commit 332fe32

Browse files
authored
Merge pull request #147 from leanid/main
target_add_dependencies not exist in cmake fix it
2 parents 2d8319c + 24a5dcc commit 332fe32

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
@@ -350,7 +350,7 @@ Then you can add the Slang build step to your target like this:
350350
[,cmake]
351351
----
352352
add_slang_shader_target( foo SOURCES ${SHADER_SLANG_SOURCES})
353-
target_add_dependencies(bar PUBLIC foo)
353+
add_dependencies(bar foo)
354354
----
355355

356356
== Loading a shader

0 commit comments

Comments
 (0)