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 )