Fix broken builds

Don't use CPPAN by default because it fails with an error message:

    /usr/bin/ld: cannot find -lpvt.cppan.demo.danbloomberg.leptonica

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-01-16 08:24:39 +01:00
parent 226694aa0d
commit 0c5f81947e

View File

@ -100,7 +100,7 @@ endif()
#
###############################################################################
option(CPPAN_BUILD "Build with cppan" ON)
option(CPPAN_BUILD "Build with cppan" OFF)
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.cppan OR NOT CPPAN_BUILD)
if (NOT Leptonica_DIR AND NOT MSVC)