Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit bdfc3cd

Browse files
committed
Remove -mavx2 option from CMakeLists.txt
It's not used in the sample application and will cause issues on platforms that does't support avx2 Signed-off-by: Elaine Wang <[email protected]>
1 parent d766a64 commit bdfc3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

video_e2e_sample/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set(MFX_INCLUDE $ENV{MFX_HOME}/include)
99
set(MFX_LIB_OPENSOURCE $ENV{MFX_HOME}/lib)
1010
set(MFX_LIB $ENV{MFX_HOME}/lib/lin_x64)
1111
#set(GFLAGS_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/gflags/include)
12-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx2 -g -O3 -std=c++11 -funroll-loops -ftree-vectorize -I${DL_SAMPLE_INCLUDE} -I${MFX_INCLUDE} -I${DL_SDK_INCLUDE} -I${DL_SDK_INCLUDE}/cpp -I${OPENCV_INCLUDE} -DLIBVA_SUPPORT -DLIBVA_DRM_SUPPORT")
12+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O3 -std=c++11 -funroll-loops -ftree-vectorize -I${DL_SAMPLE_INCLUDE} -I${MFX_INCLUDE} -I${DL_SDK_INCLUDE} -I${DL_SDK_INCLUDE}/cpp -I${OPENCV_INCLUDE} -DLIBVA_SUPPORT -DLIBVA_DRM_SUPPORT")
1313
set(ENABLE_EXPORTS false)
1414
set(CMAKE_EXE_LINKER_FLAGS "-L${OPENCV_LIB} -L${DL_SDK_LIB}")
1515

0 commit comments

Comments
 (0)