mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
build: renamed the cpu vectorization option.
This commit is contained in:
parent
e3eaa05548
commit
ca16e8b403
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ endif
|
||||||
cpu_avx = false
|
cpu_avx = false
|
||||||
cpu_neon = 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'
|
if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64'
|
||||||
config_h.set10('THORVG_AVX_VECTOR_SUPPORT', true)
|
config_h.set10('THORVG_AVX_VECTOR_SUPPORT', true)
|
||||||
cpu_avx = true
|
cpu_avx = true
|
||||||
|
|
|
@ -16,7 +16,7 @@ option('savers',
|
||||||
value: [''],
|
value: [''],
|
||||||
description: 'Enable File Savers in thorvg')
|
description: 'Enable File Savers in thorvg')
|
||||||
|
|
||||||
option('use_simd',
|
option('vector',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
value: true,
|
value: true,
|
||||||
description: 'Enable CPU Vectorization(SIMD) in thorvg')
|
description: 'Enable CPU Vectorization(SIMD) in thorvg')
|
||||||
|
|
Loading…
Add table
Reference in a new issue