aboutsummaryrefslogtreecommitdiff
path: root/modules/FindBlueZ.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2010-08-24 20:05:51 +0000
committerAlexander Neundorf <neundorf@kde.org>2010-08-24 20:05:51 +0000
commit4051cfa096f4fa11e6cea0950970e741140cdd0d (patch)
tree1fb67d0a390bdb4cecd30afb243fd506459bbe99 /modules/FindBlueZ.cmake
parent0c17e8963e4a6e144561b4c541d85986f029abba (diff)
downloadextra-cmake-modules-4051cfa096f4fa11e6cea0950970e741140cdd0d.tar.gz
extra-cmake-modules-4051cfa096f4fa11e6cea0950970e741140cdd0d.tar.bz2
-use consistent casing within each file, remove unnecessary checks
Alex svn path=/trunk/KDE/kdelibs/; revision=1167513
Diffstat (limited to 'modules/FindBlueZ.cmake')
-rw-r--r--modules/FindBlueZ.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/FindBlueZ.cmake b/modules/FindBlueZ.cmake
index 8332797f..b1577d31 100644
--- a/modules/FindBlueZ.cmake
+++ b/modules/FindBlueZ.cmake
@@ -17,7 +17,7 @@
if ( BLUEZ_INCLUDE_DIR AND BLUEZ_LIBRARIES )
# in cache already
- SET(BlueZ_FIND_QUIETLY TRUE)
+ set(BlueZ_FIND_QUIETLY TRUE)
endif ( BLUEZ_INCLUDE_DIR AND BLUEZ_LIBRARIES )
# use pkg-config to get the directories and then use these values
@@ -30,22 +30,22 @@ if( NOT WIN32 )
set(BLUEZ_DEFINITIONS ${PC_BLUEZ_CFLAGS_OTHER})
endif( NOT WIN32 )
-FIND_PATH(BLUEZ_INCLUDE_DIR NAMES bluetooth/bluetooth.h
+find_path(BLUEZ_INCLUDE_DIR NAMES bluetooth/bluetooth.h
PATHS
${PC_BLUEZ_INCLUDEDIR}
${PC_BLUEZ_INCLUDE_DIRS}
/usr/X11/include
)
-FIND_LIBRARY(BLUEZ_LIBRARIES NAMES bluetooth
+find_library(BLUEZ_LIBRARIES NAMES bluetooth
PATHS
${PC_BLUEZ_LIBDIR}
${PC_BLUEZ_LIBRARY_DIRS}
)
include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(BlueZ DEFAULT_MSG BLUEZ_INCLUDE_DIR BLUEZ_LIBRARIES )
+find_package_handle_standard_args(BlueZ DEFAULT_MSG BLUEZ_INCLUDE_DIR BLUEZ_LIBRARIES )
# show the BLUEZ_INCLUDE_DIR and BLUEZ_LIBRARIES variables only in the advanced view
-MARK_AS_ADVANCED(BLUEZ_INCLUDE_DIR BLUEZ_LIBRARIES )
+mark_as_advanced(BLUEZ_INCLUDE_DIR BLUEZ_LIBRARIES )