This worked out before because everywhere we test has Zlib installed in the
default system paths. But technically this should be setup in order to correctly
use a Zlib installed somewhere else.
- Gradient URL references in SVG output once again align with their targets
(linear or radial gradients) when `id` attributes are in use. This was
arguably a regression in Graphviz 6.0.1. #2307
+- The CMake build system’s interactions with a Zlib installed in a non-system
+ location has been improved.
## [7.0.1] – 2022-11-09
endif()
if(ZLIB_FOUND)
+ target_include_directories(gvc SYSTEM PRIVATE ${ZLIB_INCLUDE_DIRS})
target_link_libraries(gvc PUBLIC ${ZLIB_LIBRARIES})
endif()