mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-20 15:59:11 +08:00
Fix CMake Linux build (#3478)
This commit is contained in:
parent
4d0f027f58
commit
38f0fdcd88
@ -256,7 +256,7 @@ if(CLANG) # clang all platforms
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -DDEBUG -pedantic -O0")
|
||||
endif()
|
||||
|
||||
if (OPENMP_BUILD AND MSVC AND ${MSVC_VERSION} LESS 1929)
|
||||
if (OPENMP_BUILD AND MSVC AND "${MSVC_VERSION}" LESS 1929)
|
||||
set(OPENMP_BUILD OFF)
|
||||
endif()
|
||||
if (OPENMP_BUILD)
|
||||
|
Loading…
Reference in New Issue
Block a user