aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spendrin <ps_ml@gmx.de>2007-12-20 02:33:01 +0000
committerPatrick Spendrin <ps_ml@gmx.de>2007-12-20 02:33:01 +0000
commite0005fe42a824d2f5ac88e3a136fcf58abb53201 (patch)
tree6778e7976f4dbef81df810c209015e8534334584
parent5c4c003ffbd2de9f815fed9dda014b667f3aea5b (diff)
downloadextra-cmake-modules-e0005fe42a824d2f5ac88e3a136fcf58abb53201.tar.gz
extra-cmake-modules-e0005fe42a824d2f5ac88e3a136fcf58abb53201.tar.bz2
small change for non-pkgconfig configurations
svn path=/trunk/KDE/kdelibs/; revision=750767
-rw-r--r--modules/FindFreetype.cmake4
1 files changed, 1 insertions, 3 deletions
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)