From e0005fe42a824d2f5ac88e3a136fcf58abb53201 Mon Sep 17 00:00:00 2001 From: Patrick Spendrin Date: Thu, 20 Dec 2007 02:33:01 +0000 Subject: small change for non-pkgconfig configurations svn path=/trunk/KDE/kdelibs/; revision=750767 --- modules/FindFreetype.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/FindFreetype.cmake b/modules/FindFreetype.cmake index 89b70a61..fae1a65c 100644 --- a/modules/FindFreetype.cmake +++ b/modules/FindFreetype.cmake @@ -49,9 +49,7 @@ else (FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIR) set( FREETYPE_LIBRARIES ${FREETYPE_LIBRARIES} CACHE INTERNAL "The libraries for freetype" ) else(FREETYPECONFIG_EXECUTABLE) - find_path (FREETYPE_INCLUDE_DIR freetype/freetype.h - ${CMAKE_INCLUDE_PATH}/freetype2 - ) + find_path (FREETYPE_INCLUDE_DIR freetype2/freetype/freetype.h) find_library(FREETYPE_LIBRARIES freetype) if(FREETYPE_INCLUDE_DIR AND FREETYPE_LIBRARIES) set(FREETYPE_FOUND TRUE) -- cgit v1.2.1