File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,9 @@ if(NOT OPUS_DISABLE_INTRINSICS)
507507 if (OPUS_X86_MAY_HAVE_AVX2)
508508 add_sources_group(opus celt ${celt_sources_avx2} )
509509 add_sources_group(opus silk ${silk_sources_avx2} )
510- add_sources_group(opus silk ${silk_sources_float_avx2} )
510+ if (NOT OPUS_FIXED_POINT)
511+ add_sources_group(opus silk ${silk_sources_float_avx2} )
512+ endif ()
511513 if (OPUS_DNN)
512514 add_sources_group(opus lpcnet ${dnn_sources_avx2} )
513515 endif ()
@@ -519,7 +521,9 @@ if(NOT OPUS_DISABLE_INTRINSICS)
519521 endif ()
520522 set_source_files_properties (${celt_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS} )
521523 set_source_files_properties (${silk_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS} )
522- set_source_files_properties (${silk_sources_float_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS} )
524+ if (NOT OPUS_FIXED_POINT)
525+ set_source_files_properties (${silk_sources_float_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS} )
526+ endif ()
523527 set_source_files_properties (${dnn_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS} )
524528 endif ()
525529 if (OPUS_X86_PRESUME_AVX2)
You can’t perform that action at this time.
0 commit comments