Skip to content

Commit 4f558e8

Browse files
committed
cmake: added "SSE4_2" into default CPU dispatch
1 parent 582bb3c commit 4f558e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVCompilerOptimizations.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ if(X86 OR X86_64)
238238
endif()
239239

240240
if(NOT DEFINED CPU_DISPATCH)
241-
set(CPU_DISPATCH "SSE4_1;AVX;FP16;AVX2" CACHE STRING "${HELP_CPU_DISPATCH}")
241+
set(CPU_DISPATCH "SSE4_1;SSE4_2;AVX;FP16;AVX2" CACHE STRING "${HELP_CPU_DISPATCH}")
242242
endif()
243243

244244
if(NOT DEFINED CPU_BASELINE)

0 commit comments

Comments
 (0)