Changeset 9827 for code/branches/wiimote/cmake/tools/FindBluetooth.cmake
- Timestamp:
- Nov 25, 2013, 5:27:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wiimote/cmake/tools/FindBluetooth.cmake
r9812 r9827 1 1 IF(LINUX) 2 MESSAGE(STATUS 'sewpertest') 3 FIND_PATH(BLUETOOTH_INCLUDE_DIR bluetooth.h /usr/include/bluetooth/ /usr/local/include/bluetooth /home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth) 4 FIND_LIBRARY(BLUETOOTH_LIBRARY NAMES bluetooth PATHS /usr/lib/ /usr/lib/x86_64-linux-gnu /home/georgr/libbluetooth-dev/libbluetooth-dev/usr/lib/x86_64-linux-gnu) 5 MESSAGE(STATUS "sewpertest 2 ${BLUETOOTH_LIBRARY}") 6 MESSAGE(STATUS "sewpertest 3 ${BLUETOOTH_INCLUDE_DIR}") 2 #FIND_PATH(BLUETOOTH_INCLUDE_DIR NAMES bluetooth PATHS /usr/include/bluetooth/ /usr/local/include/bluetooth /home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth) 3 #FIND_LIBRARY(BLUETOOTH_LIBRARY NAMES bluetooth PATHS /usr/lib/ /usr/lib/x86_64-linux-gnu /home/georgr/libbluetooth-dev/libbluetooth-dev/usr/lib/x86_64-linux-gnu) 4 FIND_PATH(BLUETOOTH_INCLUDE_DIR bluetooth /home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/) 5 FIND_LIBRARY(BLUETOOTH_LIBRARY NAMES bluetooth PATHS /home/georgr/libbluetooth-dev/libbluetooth-dev/usr/lib/x86_64-linux-gnu/) 6 MESSAGE(STATUS "Bluetooth library test: ${BLUETOOTH_LIBRARY}") 7 MESSAGE(STATUS "Bluetooth header test: ${BLUETOOTH_INCLUDE_DIR}") 7 8 IF(BLUETOOTH_INCLUDE_DIR AND BLUETOOTH_LIBRARY) 8 9 SET(BLUETOOTH_FOUND TRUE)
Note: See TracChangeset
for help on using the changeset viewer.