diff --git a/CMakeLists.txt b/CMakeLists.txt index dd306f3..6c3c79c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,12 @@ project(wiiuse) add_definitions(-DWIIUSE_COMPILE_LIB) +if(NOT WIN32 AND NOT APPLE) + find_path(BLUEZ_INCLUDE_DIR + bluetooth/bluetooth.h) + include_directories("${BLUEZ_INCLUDE_DIR}") +endif() + ### # Build the project ###