mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:41:48 +08:00
f56c8174eb
* [lerc] Burn C++ linkage into pc file * [tiff] Add lerc support * [cmake-user] Test tiff with lerc * [wxwidgets] Handle tiff/lerc C++ linkage trick
14 lines
484 B
Diff
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()
|