2020-10-22 08:42:47 +08:00
|
|
|
diff --git a/cmake/templates/LeptonicaConfig.cmake.in b/cmake/templates/LeptonicaConfig.cmake.in
|
|
|
|
index 342c37d..b358b7b 100644
|
|
|
|
--- a/cmake/templates/LeptonicaConfig.cmake.in
|
|
|
|
+++ b/cmake/templates/LeptonicaConfig.cmake.in
|
2021-02-17 03:14:55 +08:00
|
|
|
@@ -20,6 +20,15 @@
|
2020-10-22 08:42:47 +08:00
|
|
|
#
|
|
|
|
# ===================================================================================
|
|
|
|
|
|
|
|
+include(CMakeFindDependencyMacro)
|
2021-02-17 03:14:55 +08:00
|
|
|
+find_dependency(JPEG)
|
2020-10-22 08:42:47 +08:00
|
|
|
+find_dependency(ZLIB)
|
|
|
|
+find_dependency(PNG)
|
2021-02-17 03:14:55 +08:00
|
|
|
+find_dependency(TIFF)
|
2020-10-22 08:42:47 +08:00
|
|
|
+find_dependency(GIF)
|
|
|
|
+find_dependency(WebP)
|
2021-02-17 03:14:55 +08:00
|
|
|
+find_dependency(OpenJPEG)
|
2020-10-22 08:42:47 +08:00
|
|
|
+
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/LeptonicaTargets.cmake)
|
|
|
|
|
|
|
|
# ======================================================
|