Add a stubbed GCAdapter namespace.

This cleans up a bunch of #ifdef checks in places.
This commit is contained in:
Ryan Houdek
2016-01-06 00:57:08 -06:00
parent af6a5ddafe
commit 6e503bebc4
8 changed files with 38 additions and 33 deletions

View File

@ -37,6 +37,8 @@ endif()
if(LIBUSB_FOUND)
set(SRCS ${SRCS} GCAdapter.cpp)
else()
set(SRCS ${SRCS} GCAdapter_Null.cpp)
endif(LIBUSB_FOUND)
if(LIBEVDEV_FOUND AND LIBUDEV_FOUND)