mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
fix cmake&clang build
This commit is contained in:
parent
ab09b09da6
commit
95a15a7a82
@ -111,8 +111,8 @@ if (WIN32)
|
||||
if (MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /utf-8")
|
||||
add_definitions(-DNOMINMAX)
|
||||
if (NOT CLANG)
|
||||
add_definitions(-DNOMINMAX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
endif()
|
||||
endif()
|
||||
|
@ -18,8 +18,6 @@
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
#define NOMINMAX
|
||||
|
||||
#include <algorithm>
|
||||
#include <climits>
|
||||
#include <cstdarg>
|
||||
|
Loading…
Reference in New Issue
Block a user