]> granicus.if.org Git - graphviz/commit
gvc: CMake: fix: link to zlib only if we have it
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Fri, 13 Aug 2021 12:39:12 +0000 (14:39 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 23 Aug 2021 19:39:48 +0000 (21:39 +0200)
commitb1f48f0851a712e0f4623e7077d527c97e0595b2
tree67a3a6c5cd746f63c28480f99c11b9973a0e9982
parentdc95eb56024db9d49429936d4bd0f58e4f05d822
gvc: CMake: fix: link to zlib only if we have it

Fixes the following error when we don't have zlib:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ZLIB_LIBRARY
    linked by target "gvc" in directory C:/Users/magja/graphviz/lib/gvc
CHANGELOG.md
lib/gvc/CMakeLists.txt