meson: replace deprecated dep.get_pkgconfig_variable

Replaced by dep.get_variable:
https://mesonbuild.com/Reference-manual_returned_dep.html#depget_variable

This get rid of the following deprecation warning:
  NOTICE: Future-deprecated features used:
   * 0.56.0: {'dependency.get_pkgconfig_variable'}
This commit is contained in:
Íñigo Huguet
2024-04-02 17:05:39 +02:00
committed by Íñigo Huguet
parent 9158f4165f
commit 07f463bc94
2 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ examples = [
moc = find_program('moc-qt4', required: false)
if not moc.found()
moc = qt_core_dep.get_pkgconfig_variable('moc_location')
moc = qt_core_dep.get_variable(pkgconfig: 'moc_location')
endif
example = 'monitor-nm-running'