Skip to content
Snippets Groups Projects
Unverified Commit 2554a89e authored by Blaine Wood's avatar Blaine Wood Committed by Jean-Marc Valin
Browse files

Fixing Cmake error for OPUS_FIXED_POINT=ON


Only include floating point inner product when OPUS_FIXED_POINT is disabled.

Signed-off-by: default avatarJean-Marc Valin <jmvalin@jmvalin.ca>
parent eb39efaa
No related branches found
No related tags found
No related merge requests found
......@@ -507,7 +507,9 @@ if(NOT OPUS_DISABLE_INTRINSICS)
if(OPUS_X86_MAY_HAVE_AVX2)
add_sources_group(opus celt ${celt_sources_avx2})
add_sources_group(opus silk ${silk_sources_avx2})
add_sources_group(opus silk ${silk_sources_float_avx2})
if (NOT OPUS_FIXED_POINT)
add_sources_group(opus silk ${silk_sources_float_avx2})
endif()
if (OPUS_DNN)
add_sources_group(opus lpcnet ${dnn_sources_avx2})
endif()
......@@ -519,7 +521,9 @@ if(NOT OPUS_DISABLE_INTRINSICS)
endif()
set_source_files_properties(${celt_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS})
set_source_files_properties(${silk_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS})
set_source_files_properties(${silk_sources_float_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS})
if (NOT OPUS_FIXED_POINT)
set_source_files_properties(${silk_sources_float_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS})
endif()
set_source_files_properties(${dnn_sources_avx2} PROPERTIES COMPILE_FLAGS ${AVX2_FLAGS})
endif()
if(OPUS_X86_PRESUME_AVX2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment