FindFreetype.cmake reports "missing: FREETYPE_LIBRARY"

Bug #826988 reported by Richard Ulrich
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cmake (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

FIND_PACKAGE(Freetype REQUIRED) reports :
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find Freetype (missing: FREETYPE_LIBRARY)
although both packages libfreetype6 and libfreetype6-dev are installed.
So I added "/usr/lib/x86_64-linux-gnu/" to the failing FIND_LIBRARY and the errormessage is gone.
But I don't want to change files that belong to a package on every machine.
And of course this works only for 64bit systems.

Installed versions are:
libfreetype6 : 2.4.4-1ubuntu2.1
libfreetype6-dev : 2.4.4-1ubuntu2.1
cmake-data : 2.8.4+dfsg.1-5~natty~pgquiles1 (same with 2.8.3-3ubuntu7)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cmake (Ubuntu):
status: New → Confirmed
Revision history for this message
launchpad_account (my-id) wrote :

I get the same cmake error message.

Ubuntu 11.04
libfreetype6 2.4.4-1ubuntu2
libfreetype6-dev 2.4.4-1ubuntu2
cmake 2.8.3-3ubuntu7

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I use find_package(Freetype) in ettercap code, and it works. I think it has been fixed a while ago.

Changed in cmake (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.