add inc
This commit is contained in:
parent
e44599f3dd
commit
7775320668
@ -3,6 +3,9 @@ project('glad', 'c', version: '4.6')
|
||||
headers = [ 'glad.h', 'khrplatform.h' ]
|
||||
sources = [ 'glad.c' ]
|
||||
|
||||
inc = []
|
||||
inc += include_directories('.')
|
||||
|
||||
lib = library(
|
||||
'glad',
|
||||
sources: [headers, sources],
|
||||
@ -10,5 +13,6 @@ lib = library(
|
||||
)
|
||||
|
||||
glad_dep = declare_dependency(
|
||||
include_directories: inc,
|
||||
link_with: lib
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user