diff --git a/Source/ThirdParty/libwebrtc/CMakeLists.txt b/Source/ThirdParty/libwebrtc/CMakeLists.txt index 82167a5fff646..5abb9c46f2b0a 100644 --- a/Source/ThirdParty/libwebrtc/CMakeLists.txt +++ b/Source/ThirdParty/libwebrtc/CMakeLists.txt @@ -1866,7 +1866,7 @@ if (WTF_CPU_X86_64 OR WTF_CPU_X86) Source/webrtc/modules/audio_processing/aec3/vector_math_avx2.cc Source/webrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2.cc ) - set_source_files_properties(webrtc_avx_SOURCES PROPERTIES COMPILE_OPTIONS "-mavx2;-mfma") + set_source_files_properties(${webrtc_avx_SOURCES} PROPERTIES COMPILE_OPTIONS "-mavx2;-mfma") list(APPEND webrtc_SOURCES ${webrtc_avx_SOURCES}) add_definitions(-DWEBRTC_ENABLE_AVX2) endif()