Skip to content

Commit 94be926

Browse files
committed
Update leptonica version.
1 parent d855a9d commit 94be926

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ set(VERSION_PLAIN ${VERSION_MAJOR}.${VERSION_MINOR})
4646

4747
set(MINIMUM_LEPTONICA_VERSION 1.73)
4848

49-
if (NOT Leptonica_BUILD_DIR)
49+
if (NOT WIN32)
5050
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED)
5151
else()
52-
set(Leptonica_DIR ${Leptonica_BUILD_DIR})
5352
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
5453
endif()
5554

0 commit comments

Comments
 (0)