mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Update CMakeLists.txt
thanks. Co-authored-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
2538989ef5
commit
511189b069
@ -172,7 +172,7 @@ endif(HAVE_AVX)
|
||||
CHECK_CXX_COMPILER_FLAG("-mavx2" HAVE_AVX2)
|
||||
if(HAVE_AVX2)
|
||||
set(AVX2_COMPILE_FLAGS "-mavx2")
|
||||
add_definitions("-DHAVE_AVX")
|
||||
add_definitions("-DHAVE_AVX2")
|
||||
endif()
|
||||
|
||||
CHECK_CXX_COMPILER_FLAG("-mfma" HAVE_FMA)
|
||||
|
Loading…
Reference in New Issue
Block a user