[gegl] Include opencl_dep as a dependency in gegl_lib target



commit 54f760de6a0e14487ccfb033e270aa6a80ee66e2
Author: Caleb Xu <calebcenter live com>
Date:   Wed Dec 22 11:19:20 2021 -0500

    Include opencl_dep as a dependency in gegl_lib target
    
    Follow-up to 392e60be7371362c1149a9825d7644df86416692.
    
    In the above commit, the opencl_dep dependency was declared but
    this dependency was never added to the gegl_lib target, which
    needs it. As such, the addition was a no-op.
    
    This commit adds the opencl_dep dependency to the gegl_lib target
    and keeps only the opencl_headers sources, since the gegl_sources
    are already included in the gegl_lib target.

 gegl/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/meson.build b/gegl/meson.build
index 1781db293..48456757b 100644
--- a/gegl/meson.build
+++ b/gegl/meson.build
@@ -91,8 +91,7 @@ install_headers(gegl_headers,
 gegl_ldflags = os_osx ? ['-framework', 'OpenCL'] : []
 
 opencl_dep = declare_dependency(
-    sources : [opencl_headers],
-    link_with : [gegl_sources],
+  sources : [opencl_headers],
 )
 
 
@@ -111,6 +110,7 @@ gegl_lib = library(api_name,
     gio,
     math,
     gmodule,
+    opencl_dep,
   ],
   c_args: gegl_cflags,
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]