vcpkg/ports/dcmtk/fix_link_xml2.patch
2023-12-04 17:24:32 -08:00

14 lines
503 B
Diff

diff --git a/CMake/3rdparty.cmake b/CMake/3rdparty.cmake
index 2c974e8..90707bd 100644
--- a/CMake/3rdparty.cmake
+++ b/CMake/3rdparty.cmake
@@ -94,7 +94,7 @@ if(DCMTK_USE_FIND_PACKAGE)
else()
message(STATUS "Info: DCMTK XML support will be enabled")
set(WITH_LIBXML 1)
- include_directories(${LIBXML2_INCLUDE_DIR})
+ include_directories(${LIBXML2_INCLUDE_DIRS})
set(LIBXML_LIBS ${LIBXML2_LIBRARIES} ${LIBXML2_EXTRA_LIBS_STATIC})
endif()
endif()