check for minimum libpq version

This commit is contained in:
Chris Cromer 2018-10-18 17:34:59 -03:00
parent 315d9c10a9
commit 94b6c3b57e
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -1,7 +1,7 @@
gtk_dep = dependency('gtk+-3.0', version: '>=3.0.0') gtk_dep = dependency('gtk+-3.0', version: '>=3.0.0')
# gmodule-export-2.0 is needed to connect the handlers # gmodule-export-2.0 is needed to connect the handlers
gmodule_dep = dependency('gmodule-2.0', version: '>=2.0') gmodule_dep = dependency('gmodule-2.0', version: '>=2.0')
libpq_dep = dependency('libpq') libpq_dep = dependency('libpq', version: '>=10.0')
# this is how to link against a c lib # this is how to link against a c lib
#libsystemd_lib = meson.get_compiler('c').find_library('libsystemd') #libsystemd_lib = meson.get_compiler('c').find_library('libsystemd')