diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cbdf7496..10235579 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -211,7 +211,7 @@ else() endif() if( EXIV2_ENABLE_PNG ) - target_link_libraries( exiv2lib PRIVATE ${ZLIB_LIBRARIES} ) + target_link_libraries( exiv2lib PRIVATE $) endif() if( EXIV2_ENABLE_NLS )