diff --git a/meson.build b/meson.build index e03582fa..eac5b49f 100644 --- a/meson.build +++ b/meson.build @@ -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 diff --git a/meson_options.txt b/meson_options.txt index b095ae3a..b24578eb 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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')