diff options
author | Laurent Montel <montel@kde.org> | 2008-11-11 11:50:35 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2008-11-11 11:50:35 +0000 |
commit | b6f9515fff4f5e47c8514197474294c7168c3ab7 (patch) | |
tree | c2479248ba0a220c151b55efbb2e770a48a6c0aa /modules/FindBlueZ.cmake | |
parent | 414cdd4294be121c798099210f7fb94ad5beb70d (diff) | |
download | extra-cmake-modules-b6f9515fff4f5e47c8514197474294c7168c3ab7.tar.gz extra-cmake-modules-b6f9515fff4f5e47c8514197474294c7168c3ab7.tar.bz2 |
Fix it
svn path=/trunk/KDE/kdelibs/; revision=882740
Diffstat (limited to 'modules/FindBlueZ.cmake')
-rw-r--r-- | modules/FindBlueZ.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
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 |