Added thorvg build option controlled by param in meson_options.txt file.
When meson is used HAVE_THORVG is defined and shall be used in
efl_canvas_vg_* implementation to switch between ector and thorvg
Change-Id: I52e82d3a7e99f1f12616e0ed7805072a7dc74425
description : 'Hyphen text layout support in efl'
)
+option('thorvg',
+ type : 'boolean',
+ value : false,
+ description : 'Thorvg support instead of ector in evas'
+)
+
option('embedded-lz4',
type : 'boolean',
value : true,
config_h.set_quoted('EVAS_DICTS_HYPHEN_DIR', get_option('dictionaries-hyphen-dir'))
endif
+if (get_option('thorvg'))
+ config_h.set('HAVE_THORVG', 1)
+ thorvg = dependency('thorvg')
+ evas_ext_deps += thorvg
+endif
+
+
subdir('include')
subdir('common')
subdir('canvas')