mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 15:27:50 +08:00
20 lines
607 B
Diff
20 lines
607 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index dcb98ca23..3cbd68e7e 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -182,12 +182,12 @@ if (NOT MSVC)
|
|
endif()
|
|
|
|
if (CYGWIN OR MINGW OR MSYS)
|
|
- target_link_libraries( exiv2lib PRIVATE psapi ws2_32 )
|
|
+ target_link_libraries( exiv2lib PRIVATE psapi ws2_32 shell32 )
|
|
endif()
|
|
|
|
target_link_libraries( exiv2lib PRIVATE Threads::Threads)
|
|
else()
|
|
- target_link_libraries( exiv2lib PRIVATE psapi ws2_32 )
|
|
+ target_link_libraries( exiv2lib PRIVATE psapi ws2_32 shell32 )
|
|
endif()
|
|
|
|
if( EXIV2_ENABLE_PNG )
|