mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 19:39:02 +08:00
3eeaf564d1
* [libgeotiff] fix compile on linux Fix cmake libtiff functions detetion failure caused by finding no functions in libm. Signed-off-by: Hiroshi Miura <miurahr@linux.com> * [libgeotiff] fix utility binary handling in linux Signed-off-by: Hiroshi Miura <miurahr@linux.com> * [tiff] Fix static transitive dependencies * [libgeotiff] Fix .dll and .exe manipulation * [leptonica] Find dependencies in installed cmake config file * [tiff] Do not add cmake targets to TIFF_LIBRARIES * [tiff] Link consumers against m on unix platforms
19 lines
619 B
Diff
19 lines
619 B
Diff
diff --git a/cmake/templates/LeptonicaConfig.cmake.in b/cmake/templates/LeptonicaConfig.cmake.in
|
|
index d53904a..2aa2fea 100644
|
|
--- a/cmake/templates/LeptonicaConfig.cmake.in
|
|
+++ b/cmake/templates/LeptonicaConfig.cmake.in
|
|
@@ -20,6 +20,13 @@
|
|
#
|
|
# ===================================================================================
|
|
|
|
+include(CMakeFindDependencyMacro)
|
|
+find_dependency(TIFF)
|
|
+find_dependency(ZLIB)
|
|
+find_dependency(PNG)
|
|
+find_dependency(JPEG)
|
|
+find_dependency(GIF)
|
|
+
|
|
include(${CMAKE_CURRENT_LIST_DIR}/LeptonicaTargets.cmake)
|
|
|
|
# ======================================================
|