From 6399dcd8811940943078cafdc5dc1c21414047b9 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 21 Sep 2010 15:08:14 -0500 Subject: [PATCH] Perform a minimal search for headers on Linux --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 ###