Disable training tools on appveyor because of installed cmake 3.6 bug.

This commit is contained in:
Egor Pugin 2016-12-17 18:33:41 +03:00
parent 2a9e162297
commit 2d1decbdcf
2 changed files with 5 additions and 3 deletions

View File

@ -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()
###############################################################################

View File

@ -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