mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Revert "cmake workaround for #2246 for clang"
This reverts commit 4d8bbe2c97
.
This commit is contained in:
parent
ddea230b1b
commit
a2481de926
@ -102,9 +102,6 @@ endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(CLANG 1)
|
||||
# Force C++11 as workaround for #2246
|
||||
add_definitions(-D__cplusplus=201103L)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-macro-redefined")
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user