meson woes: prevent internal error if glad is missing (not actually required for build)
This commit is contained in:
parent
e4500111b3
commit
5d293393b8
1 changed files with 5 additions and 3 deletions
|
@ -54,6 +54,8 @@ glad_dep = declare_dependency(
|
|||
link_with : glad_lib
|
||||
)
|
||||
|
||||
run_target('gen-gl-loader',
|
||||
command : [glad_program, glad_args],
|
||||
)
|
||||
if glad_program.found()
|
||||
run_target('gen-gl-loader',
|
||||
command : [glad_program, glad_args],
|
||||
)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue