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)
507
507
if (OPUS_X86_MAY_HAVE_AVX2 )
508
508
add_sources_group (opus celt ${celt_sources_avx2} )
509
509
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 ()
511
513
if (OPUS_DNN )
512
514
add_sources_group (opus lpcnet ${dnn_sources_avx2} )
513
515
endif ()
@@ -519,7 +521,9 @@ if(NOT OPUS_DISABLE_INTRINSICS)
519
521
endif ()
520
522
set_source_files_properties (${celt_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS} )
521
523
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 ()
523
527
set_source_files_properties (${dnn_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS} )
524
528
endif ()
525
529
if (OPUS_X86_PRESUME_AVX2 )
You can’t perform that action at this time.
0 commit comments