build: use dependency for matrix.c
matrix.c needs to be built differently for a test program vs. everything else, so it cannot be in a helper lib. Instead, make a dependency object for it for easy use which always gets all the paths correct automatically. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ dep_zucmain = declare_dependency(
|
||||
|
||||
tests_standalone = [
|
||||
['config-parser', [], [ dep_zucmain ]],
|
||||
['matrix', [ '../shared/matrix.c' ], [ dep_libm, dep_libshared.partial_dependency(includes: true) ]],
|
||||
['matrix', [], [ dep_libm, dep_libshared.partial_dependency(includes: true), dep_matrix_c ]],
|
||||
['string'],
|
||||
[ 'vertex-clip', [], [ dep_test_client, dep_vertex_clipping ]],
|
||||
['timespec', [], [ dep_zucmain ]],
|
||||
|
||||
Reference in New Issue
Block a user