cmake: fix warning

This commit is contained in:
Zdenko Podobný 2019-05-24 10:59:59 +02:00
parent 294f548ac1
commit 0f1e13a859

View File

@ -156,7 +156,7 @@ else()
link_directories(${Leptonica_LIBRARY_DIRS})
else()
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
endif(PKG_CONFIG_EXECUTABLE)
endif()
if (NOT Leptonica_FOUND)
message(FATAL_ERROR "Cannot find required library Leptonica. Quitting!")
endif(NOT Leptonica_FOUND)