aboutsummaryrefslogtreecommitdiff
path: root/modules/FindFreetype.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-01-04 16:48:07 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-01-04 16:48:07 +0000
commita2e2200564df58788d3106f9ffb59fd157820919 (patch)
tree7f0a3e5d13a59f83eb95b69aef159ccb87a17739 /modules/FindFreetype.cmake
parent709e7c0b54eaeec5a26c20f31787b9bfa26925e7 (diff)
downloadextra-cmake-modules-a2e2200564df58788d3106f9ffb59fd157820919.tar.gz
extra-cmake-modules-a2e2200564df58788d3106f9ffb59fd157820919.tar.bz2
add a new variable FREETYPE_INCLUDE_DIRS which should be used instead of FREETYPE_INCLUDE_DIR, since there were no objections left on k-c-d
http://lists.kde.org/?t=119944157800001&r=1&w=2 Alex will this actually be in 4.0.0 or 4.0.1 ? There are still a lot of commits in the branch going on. svn path=/branches/KDE/4.0/kdelibs/; revision=757285
Diffstat (limited to 'modules/FindFreetype.cmake')
-rw-r--r--modules/FindFreetype.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/FindFreetype.cmake b/modules/FindFreetype.cmake
index d2821931..66198b9e 100644
--- a/modules/FindFreetype.cmake
+++ b/modules/FindFreetype.cmake
@@ -2,9 +2,10 @@
# Once done this will define
#
# FREETYPE_FOUND - system has Freetype
-# FREETYPE_INCLUDE_DIR - the FREETYPE include directory
+# FREETYPE_INCLUDE_DIRS - the FREETYPE include directories
# FREETYPE_LIBRARIES - Link these to use FREETYPE
-#
+# FREETYPE_INCLUDE_DIR is internal and deprecated for use
+
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
@@ -69,3 +70,5 @@ else (FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIR)
ENDIF (FREETYPE_FOUND)
endif (FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIR)
+
+set(FREETYPE_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIR})