]> granicus.if.org Git - graphviz/commit
CMake: only use 'gdlib-config' if libgd is found
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 26 Feb 2022 22:25:28 +0000 (14:25 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Mar 2022 17:58:00 +0000 (09:58 -0800)
commit0c3880494c4f4e18ad4e508f2070b7654b5cd49f
tree755a7ec1ca1ac8d2766c58d456798c7e1cfb21c5
parent9fd9c4b0eeea4f782b97b2e5a757808273a637e4
CMake: only use 'gdlib-config' if libgd is found

This is mostly just over-cautiousness to not accidentally define variables like
`HAVE_GD_PNG` if we not have libgd. But it will also ease some upcoming
macOS-specific changes.

Gitlab: #1786
cmake/FindGD.cmake