Declare libksr dependency to enable subprojects import.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
fd612b1d39
commit
b2577c710e
@ -21,9 +21,11 @@ libsrc = [
|
||||
|
||||
# library target.
|
||||
libksr = library('ksr', libsrc, dependencies : deps, include_directories : include_dirs, install : true)
|
||||
# initialize library dependency.
|
||||
libksr_dep = declare_dependency(link_with : libksr, include_directories : 'include')
|
||||
|
||||
# add the library to the dependencies of the executables.
|
||||
deps += declare_dependency(link_with : libksr)
|
||||
deps += libksr_dep
|
||||
|
||||
# test executables.
|
||||
test_ksrarrays = executable('test_ksrarrays', [ 'tests/ksrarrays.c' ], dependencies : deps, include_directories : include_dirs, install : false)
|
||||
|
Loading…
Reference in New Issue
Block a user