aboutsummaryrefslogtreecommitdiff
path: root/find-modules
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-03-05 14:30:02 +0000
committerAlex Merry <alex.merry@kde.org>2014-03-06 11:50:31 +0000
commit8c3773f920185fe49d913f71fb58d19936a8d868 (patch)
treeccc699da9d62756fa7065213b973ff43cc0873a7 /find-modules
parenta5e59578725c79cd8f46e261a910223b1d36a738 (diff)
downloadextra-cmake-modules-8c3773f920185fe49d913f71fb58d19936a8d868.tar.gz
extra-cmake-modules-8c3773f920185fe49d913f71fb58d19936a8d868.tar.bz2
Remove unused find-modules back to the attic
REVIEW: 116616
Diffstat (limited to 'find-modules')
-rw-r--r--find-modules/FindBlueZ.cmake48
-rw-r--r--find-modules/FindLibUSB1.cmake37
2 files changed, 0 insertions, 85 deletions
diff --git a/find-modules/FindBlueZ.cmake b/find-modules/FindBlueZ.cmake
deleted file mode 100644
index 3cfdc083..00000000
--- a/find-modules/FindBlueZ.cmake
+++ /dev/null
@@ -1,48 +0,0 @@
-# - Try to find BlueZ bluetooth library.
-# Once done this will define
-#
-# BLUEZ_FOUND - system has BlueZ
-# BLUEZ_INCLUDE_DIR - the BlueZ include directory
-# BLUEZ_LIBRARIES - Link these to use BlueZ
-# BLUEZ_DEFINITIONS - Compiler switches required for using BlueZ
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
-
-# Copyright (c) 2008, Daniel Gollub, <dgollub@suse.de>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-# use pkg-config to get the directories and then use these values
-# in the FIND_PATH() and FIND_LIBRARY() calls
-find_package(PkgConfig)
-pkg_check_modules(PC_BLUEZ QUIET bluez)
-
-set(BLUEZ_DEFINITIONS ${PC_BLUEZ_CFLAGS_OTHER})
-
-find_path(BLUEZ_INCLUDE_DIR NAMES bluetooth/bluetooth.h
- PATHS
- ${PC_BLUEZ_INCLUDEDIR}
- ${PC_BLUEZ_INCLUDE_DIRS}
- /usr/X11/include
-)
-
-find_library(BLUEZ_LIBRARY NAMES bluetooth
- PATHS
- ${PC_BLUEZ_LIBDIR}
- ${PC_BLUEZ_LIBRARY_DIRS}
-)
-
-set(BLUEZ_LIBRARIES ${BLUEZ_LIBRARY})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(BlueZ DEFAULT_MSG BLUEZ_LIBRARY BLUEZ_INCLUDE_DIR)
-
-include(FeatureSummary)
-set_package_properties(BlueZ PROPERTIES URL http://www.bluez.org/
- DESCRIPTION "Official Linux Bluetooth protocol stack")
-
-# show the BLUEZ_INCLUDE_DIR and BLUEZ_LIBRARY variables only in the advanced view
-mark_as_advanced(BLUEZ_INCLUDE_DIR BLUEZ_LIBRARY)
diff --git a/find-modules/FindLibUSB1.cmake b/find-modules/FindLibUSB1.cmake
deleted file mode 100644
index eba47115..00000000
--- a/find-modules/FindLibUSB1.cmake
+++ /dev/null
@@ -1,37 +0,0 @@
-# - Try to find the libusb-1.0 library
-# Once done this defines
-#
-# LIBUSB1_FOUND - system has libusb-1.0
-# LibUSB1_INCLUDE_DIRS - the libusb-1.0 include directory
-# LibUSB1_LIBRARIES - Link these to use libusb-1.0
-
-# Copyright (c) 2011, 2013 Yury Kudryashov, <urkud@ya.ru>
-# Based on FindUSB.cmake which is:
-# Copyright (c) 2006, 2008 Laurent Montel, <montel@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-# use pkg-config to get the directories and then use these values
-# in the FIND_PATH() and FIND_LIBRARY() calls
-find_package(PkgConfig)
-pkg_check_modules(PC_LibUSB1 QUIET libusb-1.0)
-
-find_path(LibUSB1_TOP_INCLUDE_DIR libusb-1.0/libusb.h
- HINTS ${PC_LibUSB1_INCLUDEDIR})
-
-set(LibUSB1_INCLUDE_DIRS ${LibUSB1_TOP_INCLUDE_DIR}/libusb-1.0)
-
-find_library(LibUSB1_LIBRARY NAMES usb-1.0
- HINTS ${PC_LibUSB1_LIBDIR} ${PC_LibUSB1_LIBRARY_DIRS})
-
-set(LibUSB1_LIBRARIES ${LibUSB1_LIBRARY})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(LibUSB1 DEFAULT_MSG LibUSB1_LIBRARIES LibUSB1_INCLUDE_DIRS)
-
-include(FeatureSummary)
-set_package_properties(LibUSB1 PROPERTIES URL http://www.libusb.org/
- DESCRIPTION "A library that provides uniform API to access USB devices on many OSes")
-
-mark_as_advanced(LibUSB1_TOP_INCLUDE_DIR LibUSB1_LIBRARY)