From 414cdd4294be121c798099210f7fb94ad5beb70d Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 11 Nov 2008 11:45:42 +0000 Subject: Minor fix svn path=/trunk/KDE/kdelibs/; revision=882730 --- modules/FindFontconfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/FindFontconfig.cmake') diff --git a/modules/FindFontconfig.cmake b/modules/FindFontconfig.cmake index a2a13afc..10fd0734 100644 --- a/modules/FindFontconfig.cmake +++ b/modules/FindFontconfig.cmake @@ -21,8 +21,8 @@ else (FONTCONFIG_LIBRARIES AND FONTCONFIG_INCLUDE_DIR) if (NOT WIN32) # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls - include(FindPkgConfig) - PKG_CHECK_MODULES(FONTCONFIG fontconfig) + find_package(PkgConfig) + pkg_check_modules(FONTCONFIG fontconfig) set(FONTCONFIG_DEFINITIONS ${FONTCONFIG_CFLAGS}) endif (NOT WIN32) -- cgit v1.2.1