mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Update CMakeLists.txt
This commit is contained in:
parent
3566a1d467
commit
1127d0145e
@ -10,9 +10,11 @@
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.11)
|
||||
|
||||
if (NOT APPVEYOR)
|
||||
if (WIN32 AND CMAKE_VERSION VERSION_EQUAL 3.6 OR (CMAKE_VERSION VERSION_GREATER 3.6 AND CMAKE_VERSION VERSION_LESS 3.7))
|
||||
message(FATAL_ERROR "You have bugged CMake version 3.6 which is known to not work with tesseract. Please, upgrade CMake.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# In-source builds are disabled.
|
||||
if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user