Skip to content

Commit

Permalink
Fix Linux build with Leptonica_BUILD_DIR.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Oct 9, 2015
1 parent dfb5aa5 commit 0788098
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -49,6 +49,7 @@ set(MINIMUM_LEPTONICA_VERSION 1.71)
if (NOT Leptonica_BUILD_DIR)
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED)
else()
set(Leptonica_DIR ${Leptonica_BUILD_DIR})
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
endif()

Expand Down

0 comments on commit 0788098

Please sign in to comment.