vcpkg/ports/tiff/requires-lerc.patch
Kai Pastor f56c8174eb
[tiff] Add lerc support (#35471)
* [lerc] Burn C++ linkage into pc file

* [tiff] Add lerc support

* [cmake-user] Test tiff with lerc

* [wxwidgets] Handle tiff/lerc C++ linkage trick
2024-02-08 22:41:50 -08:00

14 lines
484 B
Diff

diff --git a/libtiff/CMakeLists.txt b/libtiff/CMakeLists.txt
index 9c8024e..baee592 100755
--- a/libtiff/CMakeLists.txt
+++ b/libtiff/CMakeLists.txt
@@ -148,7 +148,7 @@ if(JBIG_SUPPORT)
endif()
if(LERC_SUPPORT)
target_link_libraries(tiff PRIVATE LERC::LERC)
- list(APPEND tiff_libs_private_list "${LERC_LIBRARY}")
+ string(APPEND tiff_requires_private " Lerc")
if(NOT BUILD_SHARED_LIBS)
set_target_properties(tiff PROPERTIES COMPILE_DEFINITIONS LERC_STATIC)
endif()