Skip to content

Commit

Permalink
Merge branch 'master' of github.com-egorpugin:egorpugin/tesseract
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Oct 9, 2015
2 parents 0788098 + 8e157db commit f3b20a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindLeptonica.cmake
Expand Up @@ -19,7 +19,7 @@ find_path(Leptonica_INCLUDE_DIR leptonica/allheaders.h
/opt/local/include
${Leptonica_DIR}/include
)
if("${Leptonica_INCLUDE_DIR}" EQUAL "Leptonica_INCLUDE_DIR-NOTFOUND")
if(NOT "${Leptonica_INCLUDE_DIR}" EQUAL "Leptonica_INCLUDE_DIR-NOTFOUND")
set(Leptonica_INCLUDE_DIRS ${Leptonica_INCLUDE_DIR}/leptonica)
file(STRINGS ${Leptonica_INCLUDE_DIRS}/allheaders.h Leptonica_MAJOR_VERSION REGEX "LIBLEPT_MAJOR_VERSION")
file(STRINGS ${Leptonica_INCLUDE_DIRS}/allheaders.h Leptonica_MINOR_VERSION REGEX "LIBLEPT_MINOR_VERSION")
Expand Down

0 comments on commit f3b20a0

Please sign in to comment.