Skip to content

Commit

Permalink
Fix broken builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil committed Jan 16, 2019
1 parent 226694a commit 0c5f819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0c5f819

Please sign in to comment.