mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Disable training tools on appveyor because of installed cmake 3.6 bug.
This commit is contained in:
parent
2a9e162297
commit
2d1decbdcf
@ -64,6 +64,8 @@ endif()
|
||||
|
||||
find_package(OpenCL QUIET)
|
||||
|
||||
option(BUILD_TRAINING_TOOLS "Build training tools" ON)
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# compiler and linker
|
||||
@ -246,6 +248,8 @@ set_target_properties (tesseractmain PROPERTIES OUTPUT_NAME tesseract)
|
||||
|
||||
########################################
|
||||
|
||||
if (BUILD_TRAINING_TOOLS)
|
||||
add_subdirectory(training)
|
||||
endif()
|
||||
|
||||
###############################################################################
|
||||
|
@ -16,8 +16,6 @@ before_build:
|
||||
- curl -fsS -o cppan.zip https://cppan.org/client/cppan-master-Windows-client.zip
|
||||
- 7z x cppan.zip
|
||||
- set PATH=%PATH%;%cd%
|
||||
|
||||
- cmake --version
|
||||
|
||||
- cppan # dummy run to create %USERPROFILE%\.cppan\cppan.yml
|
||||
- ps: 'Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nbuild_system_verbose: false`n"'
|
||||
@ -26,5 +24,5 @@ build_script:
|
||||
- cppan
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake .. -G "%generator%"
|
||||
- cmake .. -G "%generator%" -DBUILD_TRAINING_TOOLS=Off
|
||||
- cmake --build . --config Release
|
||||
|
Loading…
Reference in New Issue
Block a user