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' ]
|
headers = [ 'glad.h', 'khrplatform.h' ]
|
||||||
sources = [ 'glad.c' ]
|
sources = [ 'glad.c' ]
|
||||||
|
|
||||||
|
inc = []
|
||||||
|
inc += include_directories('.')
|
||||||
|
|
||||||
lib = library(
|
lib = library(
|
||||||
'glad',
|
'glad',
|
||||||
sources: [headers, sources],
|
sources: [headers, sources],
|
||||||
@ -10,5 +13,6 @@ lib = library(
|
|||||||
)
|
)
|
||||||
|
|
||||||
glad_dep = declare_dependency(
|
glad_dep = declare_dependency(
|
||||||
|
include_directories: inc,
|
||||||
link_with: lib
|
link_with: lib
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user