build: renamed the cpu vectorization option.

This commit is contained in:
Hermet Park 2021-08-18 19:00:48 +09:00
parent e3eaa05548
commit ca16e8b403
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ endif
cpu_avx = false
cpu_neon = false
if get_option('use_simd') == true
if get_option('vector') == true
if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64'
config_h.set10('THORVG_AVX_VECTOR_SUPPORT', true)
cpu_avx = true

View file

@ -16,7 +16,7 @@ option('savers',
value: [''],
description: 'Enable File Savers in thorvg')
option('use_simd',
option('vector',
type: 'boolean',
value: true,
description: 'Enable CPU Vectorization(SIMD) in thorvg')