We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb5aa5 commit 0788098Copy full SHA for 0788098
CMakeLists.txt
@@ -49,6 +49,7 @@ set(MINIMUM_LEPTONICA_VERSION 1.71)
49
if (NOT Leptonica_BUILD_DIR)
50
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED)
51
else()
52
+set(Leptonica_DIR ${Leptonica_BUILD_DIR})
53
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
54
endif()
55
0 commit comments