Skip to content

Commit 7dcd2ff

Browse files
authored
Update CMakeLists.txt
1 parent 6d9243c commit 7dcd2ff

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

CMakeLists.txt

-9
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010

1111
cmake_minimum_required(VERSION 2.8.11)
1212

13-
if (NOT APPVEYOR)
14-
if (WIN32 AND (CMAKE_VERSION VERSION_EQUAL 3.6 OR (CMAKE_VERSION VERSION_GREATER 3.6 AND CMAKE_VERSION VERSION_LESS 3.7)))
15-
message(FATAL_ERROR "You have bugged CMake version 3.6 which is known to not work with tesseract. Please, upgrade CMake.")
16-
endif()
17-
endif()
18-
1913
# In-source builds are disabled.
2014
if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
2115
message(FATAL_ERROR
@@ -88,9 +82,6 @@ if (WIN32)
8882
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
8983

9084
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
91-
if (APPVEYOR)
92-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0")
93-
endif()
9485
endif()
9586

9687
set(LIB_Ws2_32 Ws2_32)

0 commit comments

Comments
 (0)