Hide zlib absolute path in cmake config file

This commit is contained in:
Luis Díaz Más 2020-10-17 13:49:32 +02:00
parent 3013f57e45
commit 44debddf4e

View File

@ -211,7 +211,7 @@ else()
endif()
if( EXIV2_ENABLE_PNG )
target_link_libraries( exiv2lib PRIVATE ${ZLIB_LIBRARIES} )
target_link_libraries( exiv2lib PRIVATE $<BUILD_INTERFACE:${ZLIB_LIBRARIES}>)
endif()
if( EXIV2_ENABLE_NLS )