cmake scripts enhancements

Issue #43 resolved
Marcin Wojdyr created an issue

I'd like to propose two changes to cmake script, but before making PR I'd like to ask what you think about it.

  • FindFreetype.cmake - the version of this file distributed with cmake does more robust search for headers and library. It'd be easy to replace or remove this script from libgd unless there are some essential customizations. I think there are none, but I may be wrong.

  • more control what is built: options BUILD_SHARED_LIBRARY, BUILD_STATIC_LIBRARY, BUILD_PROGRAMS

Comments (4)

  1. Pierre Joye

    It is mainly about checking for the right lib name on Windows where we habe freetype_a or freetype. But I have to update these files using the latest versions and add some.

  2. Log in to comment