The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14601 
====================================================================== 
Reported By:                Ryan Schmidt
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14601
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-27 10:44 EST
Last Modified:              2013-11-27 10:44 EST
====================================================================== 
Summary:                    FindFreetype.cmake doesn't work with freetype 2.5.1
Description: 
After updating freetype in MacPorts to 2.5.1, cmake is unable to find freetype
using FindFreetype.cmake. This was reported to MacPorts here:

https://trac.macports.org/ticket/41569

The problem seems to be that it's looking for
${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h, and as of freetype 2.5.1,
that's not where that file is located anymore.

Steps to Reproduce: 
The freetype CHANGES file says:

    - The header  file layout  has been changed.   After installation,
      all files are now located in `<prefix>/include/freetype2'.

      Applications  that  use   (a)  `freetype-config'  or  FreeType's
      `pkg-config' file to get the include directory for the compiler,
      and (b) the documented way for header inclusion like

        #include <ft2build.h>
        #include FT_FREETYPE_H
        ...

      don't need any change to the source code.

So evidently FindFreetype isn't using those methods; I found your bug report
http://public.kitware.com/Bug/view.php?id=13959 requesting those methods be
used. It's now urgent that this be done.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-27 10:44 Ryan Schmidt   New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to