summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2014-05-25 04:35:39 (GMT)
committerBrad King <brad.king@kitware.com>2014-05-27 14:42:10 (GMT)
commit836a28d5376cadd8da2febc8b0757283d7ecb182 (patch)
tree0eec9d11af79abede50c0b5b3f9e55197d845c7a /Modules
parent4ad6dacede10ce369c0e7bd0d4c8fe89d48cf4de (diff)
downloadCMake-836a28d5376cadd8da2febc8b0757283d7ecb182.zip
CMake-836a28d5376cadd8da2febc8b0757283d7ecb182.tar.gz
CMake-836a28d5376cadd8da2febc8b0757283d7ecb182.tar.bz2
FindFreetype: Move PATH_SUFFIXES argument for more consistency
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindFreetype.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake
index 94f4f53..95ecaf9 100644
--- a/Modules/FindFreetype.cmake
+++ b/Modules/FindFreetype.cmake
@@ -98,7 +98,6 @@ find_library(FREETYPE_LIBRARY
freetype219
HINTS
ENV FREETYPE_DIR
- PATH_SUFFIXES lib
PATHS
/usr/X11R6
/usr/local/X11R6
@@ -107,6 +106,8 @@ find_library(FREETYPE_LIBRARY
ENV GTKMM_BASEPATH
[HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]
+ PATH_SUFFIXES
+ lib
)
# set the user variables