mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 12:49:44 +08:00
34a26540b1
* [leptonica]Add dependency port libwebp and fix find libwebp in debug/release. * [leptonica]Add dependency to LeptonicaConfig.cmake. * [leptonica]Re-fix find libwebp.
20 lines
624 B
Diff
20 lines
624 B
Diff
diff --git a/cmake/templates/LeptonicaConfig.cmake.in b/cmake/templates/LeptonicaConfig.cmake.in
|
|
index 4f7527a..c6759d1 100644
|
|
--- a/cmake/templates/LeptonicaConfig.cmake.in
|
|
+++ b/cmake/templates/LeptonicaConfig.cmake.in
|
|
@@ -20,6 +20,14 @@
|
|
#
|
|
# ===================================================================================
|
|
|
|
+include(CMakeFindDependencyMacro)
|
|
+find_dependency(TIFF)
|
|
+find_dependency(ZLIB)
|
|
+find_dependency(PNG)
|
|
+find_dependency(JPEG)
|
|
+find_dependency(GIF)
|
|
+find_dependency(WebP)
|
|
+
|
|
include(${CMAKE_CURRENT_LIST_DIR}/LeptonicaTargets.cmake)
|
|
|
|
# ======================================================
|