vcpkg/ports/dcmtk/fix_link_tiff.patch
jim wang fe9f0b22b3
[dcmtk] Fix dependencies (#36607)
* fix dep

* update version

* fix link

* update vertsion

* update version

* fix patch

* update version
2024-02-07 22:27:35 -08:00

14 lines
504 B
Diff

diff --git a/CMake/3rdparty.cmake b/CMake/3rdparty.cmake
index 955ea71..9968352 100644
--- a/CMake/3rdparty.cmake
+++ b/CMake/3rdparty.cmake
@@ -42,7 +42,7 @@ if(DCMTK_USE_FIND_PACKAGE)
message(STATUS "Info: DCMTK TIFF support will be enabled")
include_directories(${TIFF_INCLUDE_DIR} ${JPEG_INCLUDE_DIR})
endif()
- set(LIBTIFF_LIBS ${TIFF_LIBRARY} ${TIFF_EXTRA_LIBS_STATIC} ${JPEG_LIBRARY})
+ set(LIBTIFF_LIBS ${TIFF_LIBRARIES})
endif()
endif()