mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 15:19:01 +08:00
039e8429de
* [leptonica] now all dependencies have their own find_dependency... * [leptonica] baseline version
21 lines
671 B
Diff
21 lines
671 B
Diff
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
|
|
@@ -20,6 +20,15 @@
|
|
#
|
|
# ===================================================================================
|
|
|
|
+include(CMakeFindDependencyMacro)
|
|
+find_dependency(JPEG)
|
|
+find_dependency(ZLIB)
|
|
+find_dependency(PNG)
|
|
+find_dependency(TIFF)
|
|
+find_dependency(GIF)
|
|
+find_dependency(WebP)
|
|
+find_dependency(OpenJPEG)
|
|
+
|
|
include(${CMAKE_CURRENT_LIST_DIR}/LeptonicaTargets.cmake)
|
|
|
|
# ======================================================
|