[cmake-developers] [CMake 0013959]: FindFreetype.cmake does not have a fallback (like pkgconfig or freetype-config)

Mantis Bug Tracker mantis at public.kitware.com
Wed Feb 27 11:56:31 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13959 
====================================================================== 
Reported By:                Julian Ospald
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13959
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-27 11:56 EST
Last Modified:              2013-02-27 11:56 EST
====================================================================== 
Summary:                    FindFreetype.cmake does not have a fallback (like
pkgconfig or freetype-config)
Description: 
Freetype offers two ways to _correctly_ get the header and library location.

a) via pkgconfig file (freetype2.pc)
b) via freetype-config script

The lack of any of the above checks can and does lead to cmake configure
failures, especially since freetype supports installing the headers into a
custom location, because they contain ABI-specific information.

I am not suggesting to change the current module logic, but to just add a
_fallback_ in case the current methods fail. And they already do for some
usecases.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-27 11:56 Julian Ospald  New Issue                                    
======================================================================




More information about the cmake-developers mailing list