Use bluez finder
This commit is contained in:
@@ -27,9 +27,8 @@ include(UseBackportedModules)
|
||||
add_definitions(-DWIIUSE_COMPILE_LIB)
|
||||
|
||||
if(NOT WIN32 AND NOT APPLE)
|
||||
find_path(BLUEZ_INCLUDE_DIR
|
||||
bluetooth/bluetooth.h)
|
||||
include_directories("${BLUEZ_INCLUDE_DIR}")
|
||||
find_package(Bluez REQUIRED)
|
||||
include_directories("${BLUEZ_INCLUDE_DIRS}")
|
||||
endif()
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user