tflite2_compile_args += '-DTFLITE_EXTERNAL_DELEGATE_SUPPORTED'
endif
+ if get_option('tflite2-xnnpack-delegate-support')
+ tflite2_compile_args += '-DTFLITE_XNNPACK_DELEGATE_SUPPORTED'
+ endif
+
tflite2_extra_dep = declare_dependency(
compile_args : tflite2_compile_args
)
option('tflite2-gpu-delegate-support', type: 'boolean', value: 'false')
option('tflite2-nnapi-delegate-support', type: 'boolean', value: 'false')
option('tflite2-external-delegate-support', type: 'boolean', value: 'false')
+option('tflite2-xnnpack-delegate-support', type: 'boolean', value: 'false')
option('enable-mediapipe', type: 'boolean', value: false)
option('enable-env-var', type: 'boolean', value: true)
option('enable-symbolic-link', type: 'boolean', value: true)