diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-01-09 16:53:22 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-01-09 16:53:22 +0000 |
commit | 493108fe1e7d05e942f3344b9561d9534e80196b (patch) | |
tree | cf736a9396efe6ab653c14585ece604189168085 | |
parent | 65284aaaff202da2fa98db35b1e1b89dea8c52dd (diff) | |
download | extra-cmake-modules-493108fe1e7d05e942f3344b9561d9534e80196b.tar.gz extra-cmake-modules-493108fe1e7d05e942f3344b9561d9534e80196b.tar.bz2 |
use FONTCONFIG_INCLUDE_DIR instead of FONTCONFIG_DEFINITIONS
Alex
svn path=/trunk/KDE/kdelibs/; revision=621735
-rw-r--r-- | modules/FindFontconfig.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindFontconfig.cmake b/modules/FindFontconfig.cmake index e4579f95..8bb9750e 100644 --- a/modules/FindFontconfig.cmake +++ b/modules/FindFontconfig.cmake @@ -11,12 +11,12 @@ # For details see the accompanying COPYING-CMAKE-SCRIPTS file. -if (FONTCONFIG_LIBRARIES AND FONTCONFIG_DEFINITIONS) +if (FONTCONFIG_LIBRARIES AND FONTCONFIG_INCLUDE_DIR) # in cache already set(FONTCONFIG_FOUND TRUE) -else (FONTCONFIG_LIBRARIES AND FONTCONFIG_DEFINITIONS) +else (FONTCONFIG_LIBRARIES AND FONTCONFIG_INCLUDE_DIR) if (NOT WIN32) # use pkg-config to get the directories and then use these values @@ -55,4 +55,4 @@ else (FONTCONFIG_LIBRARIES AND FONTCONFIG_DEFINITIONS) mark_as_advanced(FONTCONFIG_LIBRARIES) -endif (FONTCONFIG_LIBRARIES AND FONTCONFIG_DEFINITIONS) +endif (FONTCONFIG_LIBRARIES AND FONTCONFIG_INCLUDE_DIR) |