docs: fix use of deps

pull/2593/head
Joergen Ibsen 7 years ago committed by Jussi Pakkanen
parent 91f2a309c6
commit 68604a4855
  1. 2
      docs/markdown/Subprojects.md

@ -42,7 +42,7 @@ else
l = sp.get_variable('l') l = sp.get_variable('l')
endif endif
exe = executable('prog', 'prog.c', include_directories : i, link_with : l, exe = executable('prog', 'prog.c', include_directories : i, link_with : l,
deps : dep, install : true) dependencies : dep, install : true)
``` ```
With this setup the system dependency is used when it is available, otherwise we fall back on the bundled version. With this setup the system dependency is used when it is available, otherwise we fall back on the bundled version.

Loading…
Cancel
Save