meson: define HAVE_TSLIB once tslib option is set

Nowhere refers to the tslib option
This patch provides a way to set HAVE_TSLIB
Differential Revision: https://phab.enlightenment.org/D7582
This commit is contained in:
Wonki Kim 2019-01-10 12:13:21 +00:00 committed by Marcel Hollerbach
parent edfa0f44fd
commit 15620ecc7c
1 changed files with 4 additions and 0 deletions

View File

@ -228,6 +228,10 @@ config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension)
config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension)
config_h.set('EFL_BUILD', '1')
if get_option('tslib') == true
config_h.set('HAVE_TSLIB', '1')
endif
subdir('header_checks')
subdir('po')