MantisBT - CMake
View Issue Details
0009780CMakeModulespublic2009-10-27 02:002016-01-04 11:52
Christian Ehrlicher 
 
normalminoralways
closedfixed 
CMake-2-8 
CMake 3.1 
0009780: FindFreetype.cmake does not find freetype on windows
We're using the 'official' way to install freetype on windows. But then ft2build.h is in 'include/freetype2' subdir and could not be found by the first FIND_PATH() command. Adding 'PATH_SUFFIXES freetype2' there will solve this issue. It's already there for the second FIND_PATH() command.

It would be nice to get this into 2.8.0 so FindFreetype.cmake from kdelibs maybe can go away once they require cmake 2.8.0
No tags attached.
related to 0014626closed Kitware Robot FindFreetype module needs a new maintainer and an overhaul 
Issue History
2009-10-27 02:00Christian EhrlicherNew Issue
2009-10-27 16:24Alex NeundorfCategoryCMake => Modules
2010-03-07 10:39Christian EhrlicherNote Added: 0019749
2010-07-31 02:30Kovarththanan RajaratnamNote Added: 0021582
2010-12-15 07:16David ColeAssigned To => Eric Wing
2010-12-15 07:16David ColeStatusnew => assigned
2013-12-03 13:12Brad KingNote Added: 0034692
2013-12-03 13:12Brad KingAssigned ToEric Wing =>
2013-12-03 13:12Brad KingStatusassigned => backlog
2013-12-03 13:15Brad KingRelationship addedrelated to 0014626
2015-08-31 04:52Christian EhrlicherNote Added: 0039357
2015-08-31 08:47Brad KingStatusbacklog => resolved
2015-08-31 08:47Brad KingResolutionopen => fixed
2015-08-31 08:47Brad KingFixed in Version => CMake 3.1
2016-01-04 11:52Robert MaynardNote Added: 0040130
2016-01-04 11:52Robert MaynardStatusresolved => closed

Notes
(0019749)
Christian Ehrlicher   
2010-03-07 10:39   
Any news here? Shouldn't be too hard to add this one line :)
(0021582)
Kovarththanan Rajaratnam   
2010-07-31 02:30   
Should the existing PATH_SUFFIXES be replaced or simply appended? Currently it looks like:

FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
  HINTS
  $ENV{FREETYPE_DIR}
  PATH_SUFFIXES include
  PATHS
  /usr/local/X11R6/include
  /usr/local/X11/include
  /usr/X11/include
  /sw/include
  /opt/local/include
  /usr/freeware/include
)

The current PATH_SUFFIXES looks like a typo?
(0034692)
Brad King   
2013-12-03 13:12   
The FindFreetype.cmake module needs a new volunteer maintainer and a major overhaul:

 http://www.cmake.org/Wiki/CMake:Module_Maintainers [^]

Moving this issue to the backlog until that happens.
(0039357)
Christian Ehrlicher   
2015-08-31 04:52   
This was fixed with commit b79a1f67195f6bb7fddd52215f442f319139b531 - see https://github.com/Kitware/CMake/commit/b79a1f67195f6bb7fddd52215f442f319139b531 [^]
(0040130)
Robert Maynard   
2016-01-04 11:52   
Closing resolved issues that have not been updated in more than 4 months.