From b6f9515fff4f5e47c8514197474294c7168c3ab7 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 11 Nov 2008 11:50:35 +0000 Subject: Fix it svn path=/trunk/KDE/kdelibs/; revision=882740 --- modules/FindBlueZ.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/FindBlueZ.cmake') diff --git a/modules/FindBlueZ.cmake b/modules/FindBlueZ.cmake index f743c3ac..8e1a2fc4 100644 --- a/modules/FindBlueZ.cmake +++ b/modules/FindBlueZ.cmake @@ -18,11 +18,11 @@ endif ( BLUEZ_INCLUDE_DIR AND BLUEZ_LIBRARIES ) # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls if( NOT WIN32 ) - INCLUDE(FindPkgConfig) + find_package(PkgConfig) - PKG_CHECK_MODULES(BLUEZ bluez) + pkg_check_modules(BLUEZ bluez) - SET(BLUEZ_DEFINITIONS ${BLUEZ_CFLAGS}) + set(BLUEZ_DEFINITIONS ${BLUEZ_CFLAGS}) endif( NOT WIN32 ) FIND_PATH(BLUEZ_INCLUDE_DIR NAMES bluetooth/bluetooth.h -- cgit v1.2.1