]> granicus.if.org Git - graphviz/commit
CMake: enable libgd support on macOS when possible smattr/48F581D5-5BD5-4555-8460-C8B620B657CD-2
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 26 Feb 2022 22:38:01 +0000 (14:38 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Mar 2022 17:58:47 +0000 (09:58 -0800)
commitcccf5cf4612f334599a314365f411188a8be01eb
treefe543d69352de88e9a91a92bd0df8dbf2ad000e7
parent84937a13e53ca31946c89dbc8130661ca061a5dc
CMake: enable libgd support on macOS when possible

As discussed in the comment in this commit, we hard code the options the
Homebrew libgd package is built with.¹ It seems not possible to build a libgd
without GIF support, so perhaps the `HAVE_GD_GIF` logic in the Graphviz code
base could be simplified in future.

Gitlab: #1786

¹ https://github.com/Homebrew/homebrew-core/blob/1a7c405f0e4da91c378d1ebb73ee0d90b2775d32/Formula/gd.rb#L27-L48
ci/tests.py
cmake/FindGD.cmake