mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 07:57:55 +08:00
6b07285422
* [exiv2] update to 0.28.1 * update version * Fix option * update version --------- Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
26 lines
970 B
Diff
26 lines
970 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 85dd6cd..4967d8a 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -178,7 +178,7 @@ target_include_directories(exiv2lib SYSTEM PRIVATE
|
|
|
|
if (EXIV2_ENABLE_XMP OR EXIV2_ENABLE_EXTERNAL_XMP)
|
|
target_include_directories(exiv2lib PRIVATE ${EXPAT_INCLUDE_DIR})
|
|
- target_link_libraries(exiv2lib PRIVATE EXPAT::EXPAT)
|
|
+ target_link_libraries(exiv2lib PRIVATE expat::expat)
|
|
list(APPEND requires_private_list "expat")
|
|
endif()
|
|
|
|
diff --git a/xmpsdk/CMakeLists.txt b/xmpsdk/CMakeLists.txt
|
|
index 87c59c0..d2f23e6 100644
|
|
--- a/xmpsdk/CMakeLists.txt
|
|
+++ b/xmpsdk/CMakeLists.txt
|
|
@@ -31,6 +31,7 @@ target_include_directories(exiv2-xmp SYSTEM
|
|
${PROJECT_SOURCE_DIR}/xmpsdk/include
|
|
${EXPAT_INCLUDE_DIRS}
|
|
)
|
|
+target_link_libraries(exiv2-xmp PRIVATE expat::expat)
|
|
|
|
# Prevent a denial-service-attack related to XML entity expansion
|
|
# ("billion laughs attack").
|