mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
meson: Set cogl as dependency of libmutter-cogl dependency
Since a libmutter-cogl dependency is declared as libmutter_cogl_dep, it can be used to avoid repeating cogl dependency everywhere. https://gitlab.gnome.org/GNOME/mutter/merge_requests/3955
This commit is contained in:
parent
adc5670ea9
commit
3838341d83
@ -21,10 +21,7 @@ libmutter_cogl_gles2 = shared_library('mutter-cogl-gles2-' + libmutter_api_versi
|
||||
include_directories: [cogl_includepath, cogl_path_includepath],
|
||||
link_depends: libmutter_cogl_gles2_map,
|
||||
link_args: libmutter_cogl_gles2_link_args,
|
||||
dependencies: [
|
||||
cogl_deps,
|
||||
libmutter_cogl_dep
|
||||
],
|
||||
dependencies: libmutter_cogl_dep,
|
||||
install_rpath: pkglibdir,
|
||||
install_dir: pkglibdir,
|
||||
install: true,
|
||||
|
@ -15,7 +15,6 @@ cogl_pango_public_headers = [
|
||||
]
|
||||
|
||||
cogl_pango_deps = [
|
||||
cogl_deps,
|
||||
pango_dep,
|
||||
pangocairo_dep,
|
||||
libmutter_cogl_dep,
|
||||
|
@ -65,7 +65,7 @@ libmutter_cogl_path = shared_library('mutter-cogl-path-' + libmutter_api_version
|
||||
include_directories: [cogl_includepath, cogl_path_includepath],
|
||||
link_depends: libmutter_cogl_path_map,
|
||||
link_args: libmutter_cogl_path_link_args,
|
||||
dependencies: [libmutter_cogl_dep, cogl_deps],
|
||||
dependencies: libmutter_cogl_dep,
|
||||
install_rpath: pkglibdir,
|
||||
install_dir: pkglibdir,
|
||||
install: true,
|
||||
|
@ -485,6 +485,7 @@ libmutter_cogl = shared_library(libmutter_cogl_name,
|
||||
install: true,
|
||||
)
|
||||
libmutter_cogl_dep = declare_dependency(
|
||||
dependencies: [cogl_deps],
|
||||
link_with: libmutter_cogl,
|
||||
)
|
||||
|
||||
|
@ -93,7 +93,6 @@ libmutter_cogl_test_conformance = executable('test-conformance',
|
||||
],
|
||||
include_directories: cogl_test_conformance_includes,
|
||||
dependencies: [
|
||||
cogl_deps,
|
||||
libmutter_cogl_dep,
|
||||
libmutter_cogl_path_dep,
|
||||
libmutter_cogl_test_fixtures_dep,
|
||||
|
@ -16,7 +16,6 @@ libmutter_cogl_test_unit = executable('test-unit',
|
||||
],
|
||||
include_directories: cogl_test_unit_includes,
|
||||
dependencies: [
|
||||
cogl_deps,
|
||||
libmutter_cogl_dep,
|
||||
libmutter_cogl_path_dep,
|
||||
libmutter_cogl_test_fixtures_dep,
|
||||
|
Loading…
Reference in New Issue
Block a user