Use the windows HID finder

This commit is contained in:
Ryan Pavlik
2010-11-11 12:05:58 -06:00
parent b378ed1c53
commit 737a04255b
2 changed files with 14 additions and 5 deletions

View File

@@ -27,8 +27,16 @@ include(UseBackportedModules)
add_definitions(-DWIIUSE_COMPILE_LIB)
if(NOT WIN32 AND NOT APPLE)
set(LINUX YES)
find_package(Bluez REQUIRED)
include_directories("${BLUEZ_INCLUDE_DIRS}")
include_directories(${BLUEZ_INCLUDE_DIRS})
else()
set(LINUX NO)
endif()
if(WIN32)
find_package(WinHID REQUIRED)
include_directories(${WINHID_INCLUDE_DIRS})
endif()
###